You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by the idea of adding conversions= to #114 - since this would make it easy to register custom Python functions that can be used to convert the values in a table.
simonw
changed the title
Idea: a decorator for registering custom SQL functions
A decorator for registering custom SQL functions
Sep 22, 2020
Syntactic sugar for
db.conn.create_function
- it would work something like this:The decorator would inspect the function to find its name and arity (number of arguments). Having run the above you could then do:
The text was updated successfully, but these errors were encountered: