Comments (2)
Hi @gabrielgrover ! Thanks for reporting this bug! The issue you are facing is because the query builder does not handle the ordering of the columns.
To get around this, you can change your query string to
INSERT INTO users (id, name, is_true, custom_column, created_at, updated_at) VALUES (DEFAULT, 'Deno', true, 2, DEFAULT, DEFAULT);
or the shorthand:
INSERT INTO users (name, is_true, custom_column) VALUES ('Deno', true, 2);
or use a third-party module like Dex to generate the queries (see example).
I will add it to the roadmap of future improvements of the query builder 👍
from deno-nessie.
Will close this as the query builder is moved to https://github.com/halvardssm/deno-query-builder
from deno-nessie.
Related Issues (20)
- [IDEA] Nessie Docker image HOT 2
- [IDEA]: Status command
- [IDEA]: Add sponsor notices
- [IDEA]: Consider removing the latest and next tag from docker image HOT 1
- [IDEA]: Add support for custom seed and migration template HOT 3
- [Bug]: Using nessie with import maps HOT 3
- [IDEA]: Restrict permissions in README HOT 3
- [IDEA]: Add foundation when creating a seed or migration and remove raw imports HOT 5
- [IDEA]: Use a deps file for imports in config HOT 4
- [Bug]: Argument of type 'string | URL' is not assignable to parameter of type 'string'. HOT 2
- [Bug]: NessieConfig not found HOT 3
- [IDEA]: Mariadb example HOT 2
- [Bug]: Seed database HOT 1
- [IDEA]: Add support for cockroachdb HOT 3
- [Bug]: mysql dependency breaks after new deno_std release 0.160.1 HOT 3
- [Docs]: Remove jsdoc comment about `exposeQueryBuilder` HOT 1
- [Bug]: hash no longer in 1.27.0 of deo HOT 3
- Future of Nessie HOT 2
- [Bug]: god crypto error HOT 3
- [Bug]: TypeError: Module not found "https://deno.land/std/hash/mod.ts". HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno-nessie.