Ecto.Schema.Metadata

Ecto.Schema.Metadata

Stores metadata of a struct.

The fields are:

  • state - the state in a struct’s lifetime, one of :built, :loaded, :deleted
  • source - the source for the schema alongside the query prefix, defaults to {nil, "source"}
  • context - context stored by the database

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Schema.Metadata.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部