What's the easiest way to store time within a tabl...
# help
a
What's the easiest way to store time within a table? I'm currently storing a
Date
from TypeScript which gets converted to a
timestamp
, but when I select from the table it gets returned as a
string
of what I'm assuming is a timestamp. Is there any native support for automatically converting those types back to
Date
, or should I use a
number
instead?
n
Hello @akito! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
a
From https://github.com/supabase/postgrest-js/issues/201, it looks like there's no way to natively implement this - I guess I'll stick with manual then