@simplysm/orm-common 14.0.17 → 14.0.19

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -135,7 +135,7 @@ const db = new MyDb(executor, { database: "mydb" });
135
135
  await db.connect(async () => {
136
136
  const users = await db.user()
137
137
  .where((u) => [expr.eq(u.name, "Alice")])
138
- .orderBy((u) => [u.name])
138
+ .orderBy((u) => u.name)
139
139
  .execute();
140
140
 
141
141
  const posts = await db.post().include((p) => p.author).execute();
@@ -144,7 +144,7 @@ await db.connect(async () => {
144
144
 
145
145
  await db.user()
146
146
  .where((u) => [expr.eq(u.id, 1)])
147
- .update({ name: "Updated" });
147
+ .update(() => ({ name: expr.val("string", "Updated") }));
148
148
  });
149
149
  ```
150
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplysm/orm-common",
3
- "version": "14.0.17",
3
+ "version": "14.0.19",
4
4
  "description": "심플리즘 패키지 - ORM (common)",
5
5
  "author": "심플리즘",
6
6
  "license": "Apache-2.0",
@@ -22,6 +22,6 @@
22
22
  "@types/node": "^20.19.39"
23
23
  },
24
24
  "dependencies": {
25
- "@simplysm/core-common": "14.0.17"
25
+ "@simplysm/core-common": "14.0.19"
26
26
  }
27
27
  }