Fulib v0.1.8 Fulib.Ecto.QueryExtends View Source

Ecto的query扩展

Link to this section Summary

Functions

空值:排序在前面

空值:排序在后面

Thanks

* https://github.com/elixir-ecto/ecto/issues/1475

Link to this section Functions

Link to this macro

nulls_first(field) View Source (macro)

空值:排序在前面

Link to this macro

nulls_first(field, atom) View Source (macro)

Link to this macro

nulls_last(field) View Source (macro)

空值:排序在后面

Thanks

* https://github.com/elixir-ecto/ecto/issues/1475
Link to this macro

nulls_last(field, atom) View Source (macro)