FROM_BASE64 function is undefined #5693

Closed
opened 2026-01-22 15:14:42 +01:00 by admin · 2 comments
Owner

Originally created by @messam88 on GitHub (Sep 7, 2017).

TO_BASE64 mysql function works fine but FROM_BASE64 function is undefined while executing row sql.

Originally created by @messam88 on GitHub (Sep 7, 2017). TO_BASE64 mysql function works fine but FROM_BASE64 function is undefined while executing row sql.
admin closed this issue 2026-01-22 15:14:42 +01:00
Author
Owner

@Ocramius commented on GitHub (Sep 7, 2017):

No such function: https://github.com/doctrine/doctrine2/tree/master/lib/Doctrine/ORM/Query/AST/Functions

@Ocramius commented on GitHub (Sep 7, 2017): No such function: https://github.com/doctrine/doctrine2/tree/master/lib/Doctrine/ORM/Query/AST/Functions
Author
Owner

@beberlei commented on GitHub (Sep 16, 2017):

See the documentation about adding your own functions:

http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#adding-your-own-functions-to-the-dql-language

Both TO_BASE64 and FROM_BASE64 would be custom functions and you need to add them yourself. In your project somebody might already have added just TO_BASE64.

@beberlei commented on GitHub (Sep 16, 2017): See the documentation about adding your own functions: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#adding-your-own-functions-to-the-dql-language Both `TO_BASE64` and `FROM_BASE64` would be custom functions and you need to add them yourself. In your project somebody might already have added just `TO_BASE64`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5693