orchid-orm 1.2.64 → 1.2.65
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/package.json +3 -3
- package/src/orm.test.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orchid-orm",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.65",
|
|
4
4
|
"description": "Postgres ORM",
|
|
5
5
|
"homepage": "https://orchid-orm.netlify.app/guide/orm.html",
|
|
6
6
|
"repository": {
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"author": "Roman Kushyn",
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"pqb": "0.6.
|
|
34
|
+
"pqb": "0.6.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@swc/core": "^1.3.19",
|
|
38
38
|
"rollup": "^2.79.0",
|
|
39
39
|
"rollup-plugin-dts": "^4.2.2",
|
|
40
40
|
"rollup-plugin-esbuild": "^4.10.1",
|
|
41
|
-
"orchid-orm-schema-to-zod": "0.0.
|
|
41
|
+
"orchid-orm-schema-to-zod": "0.0.7",
|
|
42
42
|
"@swc/jest": "^0.2.21",
|
|
43
43
|
"@types/jest": "^28.1.2",
|
|
44
44
|
"@types/node": "^18.0.1",
|
package/src/orm.test.ts
CHANGED
|
@@ -71,15 +71,15 @@ describe('orm', () => {
|
|
|
71
71
|
assertType<typeof result, Pick<User, 'id' | 'name'>[]>();
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
it('should be able to turn
|
|
74
|
+
it('should be able to turn on autoPreparedStatements', () => {
|
|
75
75
|
const db = orchidORM(
|
|
76
|
-
{ ...pgConfig, autoPreparedStatements:
|
|
76
|
+
{ ...pgConfig, autoPreparedStatements: true },
|
|
77
77
|
{
|
|
78
78
|
user: UserModel,
|
|
79
79
|
profile: ProfileModel,
|
|
80
80
|
},
|
|
81
81
|
);
|
|
82
82
|
|
|
83
|
-
expect(db.user.query.autoPreparedStatements).toBe(
|
|
83
|
+
expect(db.user.query.autoPreparedStatements).toBe(true);
|
|
84
84
|
});
|
|
85
85
|
});
|