Skip to content

SQLite timestamp comparison? #346

Answered by houten11
intaek-h asked this question in Q&A
Discussion options

You must be logged in to vote

Use DATETIME, sqlite doesn't support TIMESTAMP.

JobPostings.CreatedAt.LT(sqlite.DATETIME("2021-01-01 00:00:00")),

TIMESTAMP shouldn't be exposed for sqlite. It is probably a bug.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@intaek-h
Comment options

Answer selected by intaek-h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants