Date (de)serializing
Hi, how can I achieve that for data type "date" in postgresql I will be able to insert dates in string and they will be deserialized as Date data type when selecting?
In Drizzle v. 0.29.3, this behavior was common: I could input dates as strings, and they would be deserialized into Date objects. However, now it seems that Drizzle requires me to either:
Serialize the date as a string and deserialize it as a string, or
Serialize the date as a Date object and deserialize it as a Date object.
How can I achieve the previous behavior in the current version?
In Drizzle v. 0.29.3, this behavior was common: I could input dates as strings, and they would be deserialized into Date objects. However, now it seems that Drizzle requires me to either:
Serialize the date as a string and deserialize it as a string, or
Serialize the date as a Date object and deserialize it as a Date object.
How can I achieve the previous behavior in the current version?