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
Currently it seems impossible to make an insert with no data (utilising database defaults).
This is the error you get when not specifying anything:
array_keys() expects parameter 1 to be array, null given in file /vendor/aura/sqlquery/src/Common/Insert.php on line 349
Use case: For a step by step process of first creating and then populating some entity.
This may be achieved by either setting all VALUES to NULL, either by explicitly stating INSERT INTO some_table DEFAULT VALUES
VALUES
NULL
INSERT INTO some_table DEFAULT VALUES
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently it seems impossible to make an insert with no data (utilising database defaults).
This is the error you get when not specifying anything:
Use case: For a step by step process of first creating and then populating some entity.
This may be achieved by either setting all
VALUES
toNULL
, either by explicitly statingINSERT INTO some_table DEFAULT VALUES
The text was updated successfully, but these errors were encountered: