Skip to content

Should Query magic method parser support sql function names? #185

@Jaymon

Description

@Jaymon

Would it be worth being able to do something like this:

SomeOrm.query.select_max_field_name

Which would result in:

SELECT MAX(field_name) ...

Basically make the magic method parser support this format

<METHOD-TYPE>[_<FUNCTION-NAME>]_<FIELD-NAME>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions