kysely-mapper
Advanced tools
Comparing version 0.4.10 to 0.4.11
{ | ||
"name": "kysely-mapper", | ||
"version": "0.4.10", | ||
"version": "0.4.11", | ||
"author": "Joseph T. Lapp <arachnojoe@gmail.com>", | ||
"license": "MIT", | ||
"description": "Flexible Kysely-based utility for mapping between tables and objects", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/jtlapp/kysely-mapper" | ||
}, | ||
"keywords": [ | ||
@@ -8,0 +12,0 @@ "kysely", |
@@ -438,4 +438,4 @@ # kysely-mapper | ||
const compilingUpdate = table | ||
.update({ name: 'Joe Mac' }) // columns to update | ||
.columns(['name']) | ||
.update({ name: 'Joe Mac' }) | ||
.columns(['name']) // columns to update | ||
.compile(); | ||
@@ -697,3 +697,3 @@ user = await compilingUpdate.returnOne({}, { name: 'Joseph Mack' }); | ||
| --- | --- | --- | --- | --- | | ||
| `modify` | ((kysely-QB) =><br/> new kysely QB) => new insert query | ((kysely-QB) =><br/> new kysely QB) => new update query | ((kysely-QB) =><br/> new kysely QB) => select query | ((kysely-QB) =><br/> new kysely QB) => delete query | | ||
| `modify` | ((kysely-QB) =><br/> new kysely QB) => new insert query | ((kysely-QB) =><br/> new kysely QB) => new update query | ((kysely-QB) =><br/> new kysely QB) => new select query | ((kysely-QB) =><br/> new kysely QB) => new delete query | | ||
| `columns` | (columns-to-insert array) =><br/> column-restricted insert query | (columns-to-update array) =><br/> column-restricted update query | N/A | N/A | | ||
@@ -700,0 +700,0 @@ | `run` | (values) =><br/> true (always) | (values) =><br/> boolean (whether any updated) | N/A | () =><br/> boolean (whether any deleted) | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1055658
0