@mrnafisia/type-query
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -7,5 +7,5 @@ export { type Context, createContext } from './context'; | ||
export type { Json, JsonObject, JsonArray, BaseJsonValue, NullableType, Schema, ColumnType, ColumnDefault, Table } from './Table'; | ||
export { type TestTableData, isEqual, testTransaction } from './testTransaction'; | ||
export { type TestTableData, testTransaction, createTestTableData, isRowEqual, isEqual } from './testTransaction'; | ||
export { transaction } from './transaction'; | ||
export * as U from './utils'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.U = exports.transaction = exports.testTransaction = exports.isEqual = exports.resolveResult = exports.resolveReturning = exports.resolveColumn = exports.resolveExpression = exports.partialQuery = exports.createEntity = exports.getSequenceName = exports.generateDropTableSQL = exports.generateCreateTableSQL = exports.generateDropSequencesSQL = exports.generateCreateSequencesSQL = exports.createModelParser = exports.Int8Range = exports.Int4Range = exports.Int2Range = exports.createContext = void 0; | ||
exports.U = exports.transaction = exports.isEqual = exports.isRowEqual = exports.createTestTableData = exports.testTransaction = exports.resolveResult = exports.resolveReturning = exports.resolveColumn = exports.resolveExpression = exports.partialQuery = exports.createEntity = exports.getSequenceName = exports.generateDropTableSQL = exports.generateCreateTableSQL = exports.generateDropSequencesSQL = exports.generateCreateSequencesSQL = exports.createModelParser = exports.Int8Range = exports.Int4Range = exports.Int2Range = exports.createContext = void 0; | ||
var context_1 = require("./context"); | ||
@@ -50,4 +50,6 @@ Object.defineProperty(exports, "createContext", { enumerable: true, get: function () { return context_1.createContext; } }); | ||
var testTransaction_1 = require("./testTransaction"); | ||
Object.defineProperty(exports, "testTransaction", { enumerable: true, get: function () { return testTransaction_1.testTransaction; } }); | ||
Object.defineProperty(exports, "createTestTableData", { enumerable: true, get: function () { return testTransaction_1.createTestTableData; } }); | ||
Object.defineProperty(exports, "isRowEqual", { enumerable: true, get: function () { return testTransaction_1.isRowEqual; } }); | ||
Object.defineProperty(exports, "isEqual", { enumerable: true, get: function () { return testTransaction_1.isEqual; } }); | ||
Object.defineProperty(exports, "testTransaction", { enumerable: true, get: function () { return testTransaction_1.testTransaction; } }); | ||
var transaction_1 = require("./transaction"); | ||
@@ -54,0 +56,0 @@ Object.defineProperty(exports, "transaction", { enumerable: true, get: function () { return transaction_1.transaction; } }); |
@@ -80,4 +80,4 @@ "use strict"; | ||
const isRowEqual = async (a, b, rows, index) => { | ||
const aKeys = Object.keys(a); | ||
const bKeys = Object.keys(b); | ||
const aKeys = Object.keys(a).sort(); | ||
const bKeys = Object.keys(b).sort(); | ||
if (aKeys.length !== bKeys.length || | ||
@@ -84,0 +84,0 @@ !aKeys.every((v, i) => bKeys[i] === v)) { |
{ | ||
"name": "@mrnafisia/type-query", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "mini-orm with full type support for postgres.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
276797
2454