You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conststartDateSql=sql.mock<'2022-01-01T00:00:00.0Z'>(startDate.toISOString())constendDateSql=sql.mock<'2023-01-01T00:00:00.0Z'>(endDate.toISOString())constquery=sql` SELECT${startDateSql}::timestamp with time zone AS "start",${endDateSql}::timestamp with time zone AS "end" ...`
ts-sql-plugin:
ERROR: cannot cast type integer to timestamp with time zone
LINE 3: 0::timestamp with time zone AS "start",
The text was updated successfully, but these errors were encountered:
herenickname
changed the title
sql.mock is not working
sql.mock is not working while using separately
Oct 11, 2022
Code:
ts-sql-plugin:
The text was updated successfully, but these errors were encountered: