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
In the database, date is saved by timestamp type.
Currently, this project runs by js-soda and TypeORM.
I want to check the date which is applied to LocalDate.now().minusDays(1) by using createQueryBuilder like right below.
However, it occurs error when I perform.
If I print yesterDay of variable to console.log, LocalDate { _year: 2021, _month: 11, _day: 15 } is printed.
It occurs error when I form query on the right above of query, so I want to change it to timestamp type. How can I change?
The text was updated successfully, but these errors were encountered:
In the database, date is saved by timestamp type.
Currently, this project runs by js-soda and TypeORM.
I want to check the date which is applied to LocalDate.now().minusDays(1) by using createQueryBuilder like right below.
However, it occurs error when I perform.
If I print yesterDay of variable to console.log, LocalDate { _year: 2021, _month: 11, _day: 15 } is printed.
It occurs error when I form query on the right above of query, so I want to change it to timestamp type. How can I change?
The text was updated successfully, but these errors were encountered: