-
Notifications
You must be signed in to change notification settings - Fork 538
Open
Labels
enhancementNew feature or requestNew feature or requestpostgrest-jsRelated to the postgrest-js library.Related to the postgrest-js library.
Description
PostgREST returns date & time types as a JSON string (and will continue to do so, since there's no native date/time type in JSON).
However, we can modify the JSON parsing such that date & time columns are returned as JS Date for ease of use.
This will require changes in:
- the generated types, since we need to know which columns have a date/time type - currently they're generated as
stringwhich is indistinguishable from e.g.textcolumns - this client library, since we need to actually transform these columns to
Dateduring JSON parsing
Requested in:
jens-f, KallumP, mollylin641, Donnerstagnacht, jseibert and 2 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpostgrest-jsRelated to the postgrest-js library.Related to the postgrest-js library.