Fulib v0.1.11 Fulib.Form View Source

Link to this section Summary

Link to this section Functions

Link to this function

get_changes(changeset, fields, opts \\ []) View Source

opts

  • :compact true[true]/false 是否将非空字段过滤掉
  • :filter_false true/false[默认] 是否过滤掉false值
  • :filter_presence true/false[默认] 是否过滤空字符串
Link to this function

get_entries(changeset, fields) View Source

Link to this function

get_entry(changeset, field, default_value \\ nil, when_nil \\ nil) View Source

Link to this function

get_param(changeset, field, default \\ nil) View Source

Link to this function

get_params(changeset, fields, opts \\ []) View Source

Link to this function

put_entries(changeset, entries \\ []) View Source

Link to this function

put_entry(changeset, field, value) View Source