@bakerjs/orm
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -144,3 +144,3 @@ import { validators, EntityValidations } from "./entity-validations"; | ||
this.hydrate(update.data); | ||
this.hydrate(update as S); | ||
@@ -212,4 +212,2 @@ return id; | ||
this[column.name] = this.#data[column.name]; | ||
} else { | ||
this.#id = this.#data[column.name] as number; | ||
} | ||
@@ -216,0 +214,0 @@ } |
@@ -94,2 +94,4 @@ import { Configuration, config } from "@bakerjs/core"; | ||
console.log({ data }); | ||
variables.push(id.toString()); | ||
@@ -96,0 +98,0 @@ |
{ | ||
"private": false, | ||
"name": "@bakerjs/orm", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"type": "module", | ||
@@ -23,8 +23,4 @@ "main": "lib/index.ts", | ||
"@bakerjs/core": "workspace:*", | ||
"@types/mime": "^3.0.1", | ||
"bun-types": "latest" | ||
"@types/pg": "^8.10.2" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
@@ -31,0 +27,0 @@ "knex": "^2.5.1", |
2
2
48645
1435