Converts parsed AST nodes into Ecto dynamic expressions.
Summary
Functions
Builds an Ecto dynamic expression from a parsed AST.
Functions
Builds an Ecto dynamic expression from a parsed AST.
Options
:allowed_fields- list of atom field names that are permitted. If provided, any field not in the list will return an error.:schema- the Ecto schema module, needed to resolve dotted identifiers (association paths likeauthor.name).
Returns {:ok, dynamic, joins} or {:error, reason}.