Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kysely-mapper

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kysely-mapper - npm Package Compare versions

Comparing version 0.4.10 to 0.4.11

6

package.json
{
"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",

6

README.md

@@ -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) |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc