We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At the moment, if I want to store just a date, I need to do:
const Report = createModel((Report) => { model .string("id", { id: true }) .dateTime("reportDate", { raw: "@database.Date" }) })
It would be nice to be able to have something like
const Report = createModel((Report) => { model .string("id", { id: true }) .date("reportDate") })
which would automatically add the "@database.Date" .
"@database.Date"
This is more of a nice to have, and completely understandable that you might want to just support native PostgreSQL types.
This could equally be implemented with a custom function (presumably).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At the moment, if I want to store just a date, I need to do:
It would be nice to be able to have something like
which would automatically add the
"@database.Date"
.This is more of a nice to have, and completely understandable that you might want to just support native PostgreSQL types.
This could equally be implemented with a custom function (presumably).
The text was updated successfully, but these errors were encountered: