@ghom/orm 1.6.0 → 1.6.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.
@@ -86,7 +86,7 @@ class ORM {
86
86
  await table.make();
87
87
  }
88
88
  }
89
- async raw(sql) {
89
+ raw(sql) {
90
90
  return this.database.raw(sql);
91
91
  }
92
92
  /**
@@ -60,7 +60,7 @@ export class ORM {
60
60
  await table.make();
61
61
  }
62
62
  }
63
- async raw(sql) {
63
+ raw(sql) {
64
64
  return this.database.raw(sql);
65
65
  }
66
66
  /**
@@ -41,7 +41,7 @@ export declare class ORM {
41
41
  * Handle the table files and create the tables in the database.
42
42
  */
43
43
  init(): Promise<void>;
44
- raw(sql: Knex.Value): Promise<Knex.Raw>;
44
+ raw(sql: Knex.Value): Knex.Raw;
45
45
  /**
46
46
  * Extract the database to a CSV file.
47
47
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghom/orm",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
package/src/app/orm.ts CHANGED
@@ -112,7 +112,7 @@ export class ORM {
112
112
  }
113
113
  }
114
114
 
115
- async raw(sql: Knex.Value): Promise<Knex.Raw> {
115
+ raw(sql: Knex.Value): Knex.Raw {
116
116
  return this.database.raw(sql)
117
117
  }
118
118