-
Hi! Does Drift support calling custom dart functions from sql queries, like in the sqlite3 package? |
Beta Was this translation helpful? Give feedback.
Answered by
simolus3
Oct 4, 2024
Replies: 1 comment 1 reply
-
Indirectly, yes! You can register custom functions to the connection drift is opening with the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jcalven
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Indirectly, yes! You can register custom functions to the connection drift is opening with the
setup
parameter onNativeDatabase
. Then, once you have a custom function, you can call it in drift by creating aFunctionCallExpression
which can be added as a column to evaluate it.