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

js-jpa

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-jpa - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "js-jpa",
"version": "0.0.2",
"version": "0.0.3",
"description": "jpa for node",

@@ -5,0 +5,0 @@ "author": "stone",

@@ -176,6 +176,6 @@ const ErrorUtils = require('./ErrorUtils')

}
repository.delete = async (context, entity) => {
repository.delete = async (context, key) => {
let primaryKey = schemaUtil.getPrimaryKey(repository.schema)
let where = primaryKey + '=?'
let values = [entity[primaryKey]]
let values = [key]
return await this.delete(context, repository.schema, where, values)

@@ -182,0 +182,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