query-builder
Here are 595 public repositories matching this topic...
-
Updated
Aug 8, 2021 - C#
-
Updated
Jan 5, 2019 - JavaScript
-
Updated
Oct 28, 2018 - PHP
-
Updated
Aug 26, 2021 - JavaScript
-
Updated
Aug 9, 2021 - PHP
-
Updated
Aug 30, 2021 - PHP
-
Updated
May 11, 2021 - JavaScript
Piccolo now has a command for generating a schema from an existing database.
piccolo schema generate
The current implementation doesn't cover every possible edge case and database feature, so there's room for improvement. For example:
Column defaults
Getting the defaults for a column, and reflecting them in the Piccolo column. For example, if the column has a default o
-
Updated
Aug 26, 2021 - C#
-
Updated
Apr 13, 2020 - Java
-
Updated
Aug 24, 2021 - JavaScript
-
Updated
Jul 5, 2021 - PHP
-
Updated
Aug 13, 2021 - JavaScript
The .returning()
function currently only supports strings (which should be the target table's column names). In reality they can accept any expression and (returning) query.
This should be supported:
insert into bar (val) values (123) returning (select count(*) from bar), id, val || 'test'
which would equate to something like:
db.insertInto(bar).values({ val: 123 })
-
Updated
Jul 26, 2021 - PHP
-
Updated
Aug 24, 2021 - TypeScript
-
Updated
Aug 19, 2021 - C#
-
Updated
Jun 8, 2021 - PHP
-
Updated
Jul 20, 2021 - Go
-
Updated
Jul 28, 2021 - JavaScript
-
Updated
Mar 2, 2021 - PHP
-
Updated
Aug 11, 2021 - JavaScript
-
Updated
Jul 7, 2021 - PHP
-
Updated
Jul 12, 2021 - JavaScript
-
Updated
Aug 24, 2021 - PHP
Improve this page
Add a description, image, and links to the query-builder topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the query-builder topic, visit your repo's landing page and select "manage topics."
Consider the following code (using
AsChangeset
instead / in addition toInsertable
produces the same error message):This code is wrong because eventhough the table has a column called type, the auto-generated
schema.rs
file renames that to type_ to avoid using a keyword as an