We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773eeb7 commit a8dea1cCopy full SHA for a8dea1c
lib/ecto/schema.ex
@@ -405,9 +405,11 @@ defmodule Ecto.Schema do
405
* `__schema__(:primary_key)` - Returns a list of primary key fields (empty if there is none);
406
407
* `__schema__(:fields)` - Returns a list of all non-virtual field names;
408
+ * `__schema__(:virtual_fields)` - Returns a list of all virtual field names;
409
* `__schema__(:field_source, field)` - Returns the alias of the given field;
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;
413
414
* `__schema__(:associations)` - Returns a list of all association field names;
415
* `__schema__(:association, assoc)` - Returns the association reflection of the given assoc;
0 commit comments