mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[Documentation] Document DQL built-in functions #5742
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OJezu on GitHub (Oct 19, 2017).
As far as I know, there is no list of functions that are built in into DQL in documentation. I think at least there should be link to repo directory with the classes.
I was looking a while for documentation whether ANSI MySQL
POSITIONis available. I've already implemented it as custom function, and only then I looked at code to find it already is there under MySQLLOCATEname. Documentation with list of functions, their parameters and return values would be nice, but as I said, the link to repo code would be a start:https://github.com/doctrine/doctrine2/tree/master/lib/Doctrine/ORM/Query/AST/Functions
@Majkl578 commented on GitHub (Dec 9, 2017):
There is already a list of built-in functions under the EBNF section of the DQL chapter, but without further description.
Consider sending a PR if you want to speed things up.