turbine-orm 0.13.1 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1750,8 +1750,10 @@ class QueryInterface {
|
|
|
1750
1750
|
if (!spec)
|
|
1751
1751
|
continue;
|
|
1752
1752
|
const relDef = meta.relations[relName];
|
|
1753
|
-
if (!relDef)
|
|
1753
|
+
if (!relDef) {
|
|
1754
|
+
parts.push(`unknown:${relName}`);
|
|
1754
1755
|
continue;
|
|
1756
|
+
}
|
|
1755
1757
|
if (spec === true) {
|
|
1756
1758
|
parts.push(relName);
|
|
1757
1759
|
continue;
|
package/dist/query/builder.js
CHANGED
|
@@ -1747,8 +1747,10 @@ export class QueryInterface {
|
|
|
1747
1747
|
if (!spec)
|
|
1748
1748
|
continue;
|
|
1749
1749
|
const relDef = meta.relations[relName];
|
|
1750
|
-
if (!relDef)
|
|
1750
|
+
if (!relDef) {
|
|
1751
|
+
parts.push(`unknown:${relName}`);
|
|
1751
1752
|
continue;
|
|
1753
|
+
}
|
|
1752
1754
|
if (spec === true) {
|
|
1753
1755
|
parts.push(relName);
|
|
1754
1756
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turbine-orm",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "Postgres-native TypeScript ORM — runs on Neon, Vercel Postgres, Cloudflare, Supabase. Streaming cursors, typed errors, single-query nested relations. 1 dependency, ~110KB",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|