Skip to content
New issue

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

Proposal: strict insert types #48

Open
Antony1060 opened this issue Feb 9, 2023 · 0 comments
Open

Proposal: strict insert types #48

Antony1060 opened this issue Feb 9, 2023 · 0 comments

Comments

@Antony1060
Copy link
Contributor

insertInto currently applies Partial to the table type. I suggest we don't make it Partial anymore. In pretty much every use case, the developers will type their tables appropriately and inserting data that is not complete should not be possible. Furthermore, selecting data after a partial insert is going to be typed wrong.

Partial inserts can still be done with update so the options are still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant