orchid-orm 1.27.10 → 1.28.1

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.
package/dist/index.mjs CHANGED
@@ -1864,8 +1864,11 @@ const orchidORM = (_a, tables) => {
1864
1864
  $queryBuilder: qb,
1865
1865
  $query: (...args) => qb.query(...args),
1866
1866
  $queryArrays: (...args) => qb.queryArrays(...args),
1867
- $from: (arg) => qb.from(arg),
1868
- $close: () => adapter.close()
1867
+ $with: qb.with.bind(qb),
1868
+ $withRecursive: qb.withRecursive.bind(qb),
1869
+ $withSql: qb.withSql.bind(qb),
1870
+ $from: qb.from.bind(qb),
1871
+ $close: adapter.close.bind(adapter)
1869
1872
  };
1870
1873
  const tableInstances = {};
1871
1874
  for (const key in tables) {