Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6
@@ -321,2 +321,6 @@ 'use strict'; | ||
if (sort) { | ||
query += ' sort ' + item + '.' + sort; | ||
} | ||
if (limit || skip) { | ||
@@ -326,6 +330,2 @@ query += ' limit ' + (skip ? skip + ', ' : '') + (limit || 100); | ||
if (sort) { | ||
query += ' sort ' + item + '.' + sort; | ||
} | ||
if (attributes || include) { | ||
@@ -332,0 +332,0 @@ query += getAttributes(); |
@@ -222,9 +222,9 @@ import arangojs, { aql } from 'arangojs' | ||
if (sort) { | ||
query += ` sort ${item}.${sort}` | ||
} | ||
if (limit || skip) { | ||
query += ` limit ${skip ? skip + ', ' : ''}${limit || 100}` | ||
} | ||
if (sort) { | ||
query += ` sort ${item}.${sort}` | ||
} | ||
@@ -231,0 +231,0 @@ if (attributes || include) { |
{ | ||
"name": "final-orm", | ||
"version": "1.0.0-alpha.5", | ||
"version": "1.0.0-alpha.6", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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