New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2 to 0.4.3

2

package.json
{
"name": "kysely-mapper",
"version": "0.4.2",
"version": "0.4.3",
"author": "Joseph T. Lapp <arachnojoe@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -7,3 +7,3 @@ # kysely-mapper

This utility helps eliminate the boilerplate associated with mapping between database tables and objects.
This utility helps eliminate the boilerplate associated with mapping between database tables and objects across multiple queries.

@@ -16,2 +16,4 @@ Unconfigured, the utility does no mapping and only serves as a shorthand for accessing tables using column names as fields. When configured, it provides nearly complete control over how objects map to and from individual tables. Mappings can be tailored per table and can vary in degree of ORM functionality.

[Jump to the Query Methods Quick Reference](https://github.com/jtlapp/kysely-mapper#query-methods)
[Open the API Reference](https://jtlapp.github.io/kysely-mapper/)

@@ -619,2 +621,4 @@

### TableMapper Methods
`TableMapper` has the following constructor and methods:

@@ -634,2 +638,4 @@

### TableMapper Settings
The `TableMapper` constructor takes a settings object, all of whose properties are optional:

@@ -645,2 +651,4 @@

### TableMapper Transforms
The `tableMapper.withTransforms` method takes a transforms object, all of whose properties are optional:

@@ -658,2 +666,4 @@

### Query Filters
The argument to `update()`, `select()`, and `delete()` is an optional query filter. The following query filters are available:

@@ -672,2 +682,4 @@

### Query Methods
The queries that `TableFilter` methods return all have similar methods, as this chart summarizes:

@@ -688,2 +700,4 @@

### Compiling Query Methods
`tableMapper.parameterize()` and `query.compile()` both return compiling queries, which compile on their first execution. These queries have similar methods, as shown in this chart:

@@ -690,0 +704,0 @@

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