TIMESTAMPTZ is returned as string instead of Date object
It seems that drizzle upon initialization (re-)sets
I tried Drizzle with the node-postgres driver and it didn't seem to work, dates were simply strings. I figured that Drizzle resets the default type convertes upon initialization (see picture).
I was wondering why that is. And is that simply a me problem or did anyone also find
pg-types handling of dates. Usually pg-types and thus node-postgres converts TIMESTAMP, TIMESTAMPTZ and other related data base types automatically to a JS date object.I tried Drizzle with the node-postgres driver and it didn't seem to work, dates were simply strings. I figured that Drizzle resets the default type convertes upon initialization (see picture).
I was wondering why that is. And is that simply a me problem or did anyone also find
TIMESTAMP being returned as string when using node-postgres?