Comparing version 1.0.67 to 1.0.68
16
index.js
@@ -17,2 +17,7 @@ const LunaJS = {}; | ||
this.selectDistinct = function () { | ||
this.query += "SELECT DISTINCT "; | ||
return this; | ||
}; | ||
this.props = function (props) { | ||
@@ -213,2 +218,13 @@ if (!props) { return this; } | ||
this.offset = function (offset) { | ||
if (!offset) { return this; } | ||
if (offset) { | ||
this.query += " OFFSET ?"; | ||
this.values.push(offset); | ||
} | ||
return this; | ||
}; | ||
this.build = function () { | ||
@@ -215,0 +231,0 @@ return { |
{ | ||
"name": "jarmlib", | ||
"version": "1.0.67", | ||
"version": "1.0.68", | ||
"description": "Back-end framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12755
388