integer timestamp error
hey guys im trying to insert start_dtime and end_dtime fields as integers. im trying the attached code. but i run into this error.
Types of property 'start_dtime' are incompatible.
Type 'number' is not assignable to type 'SQL<unknown> | Placeholder<string, any> | Date | null | undefined'.
i have attached both my schema and the code.
can someone help me with this.
0 Replies