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

Better handle inserting empty models cases #66

Open
vladfaust opened this issue Oct 26, 2018 · 0 comments
Open

Better handle inserting empty models cases #66

vladfaust opened this issue Oct 26, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@vladfaust
Copy link
Member

vladfaust commented Oct 26, 2018

Either change the error message from

Cannot append empty INSERT values. Ensure to call #insert before. Or if you want to insert all columns default, use 'INSERT INTO table DEFAULT VALUES' SQL query instead

to

Cannot append empty INSERT values. Ensure to call #insert before. Or if you want to insert a empty model or a model with all default values, use 'INSERT INTO table DEFAULT VALUES' SQL query instead

or allow to insert empty models.

@vladfaust vladfaust added the enhancement New feature or request label Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant