Skip to content
#

typeorm

Here are 2,896 public repositories matching this topic...

ToolJet
JanisOzolins
JanisOzolins commented Nov 4, 2021

Describe the bug

I have a Postgres query where I am trying to select a list of record with a timestamp within the last 7 days.

error properties: Object({ data: Object({ error: 'cannot cast type integer to date', code: undefined }), location: Object({ start: 0, end: 0 }) })

If I remove - 7 from the query it works. Is there a way or workaround to subtract 7 days from the CURR

Improve this page

Add a description, image, and links to the typeorm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typeorm topic, visit your repo's landing page and select "manage topics."

Learn more