-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'extract' function to PostgresModule #208
Labels
Comments
I'll try this one. |
rpiotrow
added a commit
to rpiotrow/zio-sql
that referenced
this issue
Nov 21, 2020
Changes: * add optional delimiter to FunctionDef for function call with 2 params since extract has form "extract(param1 from param2)" * add `TimestampPart` and corresponding type tags that are dedicated to PostgreSQL Still to do: * make extract function available for other date like types (e.g. LocalDateTime, Instant, etc.), now it works only for LocalDate Addresses zio#208
This is still an open issue. |
This function needs extra handling as it's input is not a simple list of parameters. The signature is
|
This was referenced Feb 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add support for function
extract
described in the PostgreSQL docs.PostgresFunctionDef
inPostgresModule
FunctionDefSpec
The text was updated successfully, but these errors were encountered: