File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -405,9 +405,11 @@ defmodule Ecto.Schema do
405
405
* `__schema__(:primary_key)` - Returns a list of primary key fields (empty if there is none);
406
406
407
407
* `__schema__(:fields)` - Returns a list of all non-virtual field names;
408
+ * `__schema__(:virtual_fields)` - Returns a list of all virtual field names;
408
409
* `__schema__(:field_source, field)` - Returns the alias of the given field;
409
410
410
411
* `__schema__(:type, field)` - Returns the type of the given non-virtual field;
412
+ * `__schema__(:virtual_type, field)` - Returns the type of the given virtual field;
411
413
412
414
* `__schema__(:associations)` - Returns a list of all association field names;
413
415
* `__schema__(:association, assoc)` - Returns the association reflection of the given assoc;
You can’t perform that action at this time.
0 commit comments