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

djorm

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djorm - npm Package Compare versions

Comparing version 0.1.5-alpha.10 to 0.1.5-alpha.11

db/Count.js

1

db/index.js
module.exports = {
...require('./And'),
...require('./ComparisonOperator'),
...require('./Count'),
...require('./DatabasePool'),

@@ -5,0 +6,0 @@ ...require('./Delete'),

5

db/Select.js
const { And } = require('./And')
const { Count } = require('./Count')
const { getModelName } = require('../models/ModelRegistry')

@@ -7,3 +8,2 @@ const { ObjectNotFound } = require('../errors')

const { QueryColumn } = require('./QueryColumn')
const { QueryFunc } = require('./QueryFunc')
const { QueryIdentifier } = require('./QueryIdentifier')

@@ -108,4 +108,3 @@ const { QueryJoin } = require('./QueryJoin')

'selection',
new QueryFunc({
name: 'COUNT',
new Count({
args: [new QueryAllRecords()],

@@ -112,0 +111,0 @@ alias: '__djorm_cnt'

@@ -26,3 +26,5 @@ const { ModelError } = require('../errors')

for (const [, field] of modelRelations) {
field.parentModel = modelName
if (!field.parentModel) {
field.parentModel = modelName
}
relationships[getRelationRefName(field.model, field.relatedName)] = field

@@ -29,0 +31,0 @@ }

{
"name": "djorm",
"version": "0.1.5-alpha.10",
"version": "0.1.5-alpha.11",
"description": "Django like ORM framework",

@@ -35,3 +35,3 @@ "author": "Pavel Žák <pavel@zak.global>",

},
"gitHead": "b062395336964f9ee176f6ccadb0ac27f2b0f521"
"gitHead": "30ac54fa76fcb4ddb229f872d285e7ab3f004c4c"
}
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