Yiming Cao
2e95aa5eef
fix: support using aggregations inside orderBy and having of groupBy ( #152 )
...
* fix: support using aggregations inside `orderBy` and `having` of `groupBy`
* update
* update
2025-08-12 18:28:52 +08:00
Yiming Cao
3a49973312
fix: tighten up query input validation, fixed case-sensitivity compatibility with Prisma ( #147 )
...
* fix: tighten up query input validation, fixed case-sensitivity compatibility with Prisma
* update
2025-08-06 17:08:45 +08:00
Yiming Cao
6a62a2c9d7
fix: issue with in memory distinct when distinct fields are not selected ( #144 )
...
* fix: issue with in memory distinct when distinct fields are not selected
* addressing PR comments
2025-08-05 17:34:16 +08:00
Yiming Cao
192cc01537
fix: using _count in relation selection ( #143 )
2025-08-05 14:27:08 +08:00
Yiming Cao
118c9955f5
fix: sqlite createMany issue with mismatching columns ( #140 )
2025-08-04 22:20:34 +08:00
Yiming Cao
0f29b39549
chore: use the entire kysely dialect in client options ( #130 )
2025-07-31 15:18:46 +08:00
Yiming Cao
0df015ad8d
feat: implement zmodel import ( #126 )
...
* feat: implement zmodel import
* addressing PR comments
* update
2025-07-30 16:45:55 +08:00
Yiming Cao
1667ce11c6
perf: improve type checking performance (magically...) ( #122 )
2025-07-29 18:36:06 +08:00
Yiming Cao
330be71b18
chore: reorg test runs ( #121 )
...
* chore: reorg test runs
* update
* update
2025-07-29 15:59:23 +08:00
Yiming Cao
3f1af0683c
chore: reorg test schemas ( #116 )
2025-07-28 18:19:34 +08:00
Yiming Cao
36e1b779bd
feat: count and aggregate for delegate models ( #115 )
...
* feat: count and aggregate for delegate models
* fixes
2025-07-28 16:31:17 +08:00
Yiming Cao
cefe223c0b
feat: implement delegate delete ( #114 )
2025-07-26 23:05:36 +08:00
Yiming Cao
05b0c51b34
feat: implement update/upsert for delegate models ( #113 )
2025-07-26 15:09:29 +08:00
Yiming Cao
c7f02eadb3
fix(delegate): filter fixes ( #112 )
2025-07-24 23:52:12 +08:00
Yiming Cao
04959ad9a2
fix(delegate): relation selection ( #111 )
2025-07-24 16:25:47 +08:00
Yiming Cao
cbf1ce3366
feat: implement delegate models (create + read) ( #110 )
...
* feat: implement delegate models (create + read)
* update
* update
* update
2025-07-23 22:54:28 +08:00
Yiming Cao
ca2a4288b4
test: more cases for mixins ( #108 )
2025-07-22 13:31:18 +08:00
Yiming Cao
55d4e773d9
feat: strongly typed JSON fields ( #107 )
2025-07-21 23:50:35 +08:00
Yiming Cao
39cf629b0c
feat: implementing mixin ( #106 )
...
* feat: implementing mixin
* format
* update
2025-07-21 19:48:48 +08:00
Yiming Cao
eebf69a999
perf: improve tsc performance for runtime project ( #97 )
2025-07-17 10:33:52 +08:00
Yiming Cao
52d95761bf
fix: make helpers package browser-compatible, fix update args validation ( #90 )
...
* fix: make helpers package browser-compatible, fix update args validation
* update
2025-07-11 23:24:48 +08:00
Yiming Cao
5a746d9e09
feat: implement sequential transaction ( #81 )
...
* feat: implement sequential transaction
* Update packages/runtime/src/client/client-impl.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* addressing comments
* update tests
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-09 17:19:42 +08:00
Yiming Cao
095e276395
fix: more issues found with formbricks ( #79 )
...
- Nested transaction handling
- Fixed issue with concurrent transactions
- Temporarily disabled running Kysely query interceptor in a transaction
2025-07-08 23:19:08 +08:00
Yiming Cao
ab0cfff82f
fix: make create's typing consistent with Prisma regarding to relations ( #78 )
2025-07-06 01:59:33 +02:00
Yiming Cao
f30b8d6a4b
fix: issues found testing with formbricks ( #77 )
...
* fix: issues found testing with formbricks
- Nested count during find
- Result processing
- "undefined" field normalization
- Enum fields used as unique
* fix test
* more tests
* fix test
2025-07-06 07:48:44 +08:00
Yiming Cao
a91f935367
fix: workaround node-pg's issue with passing array to non-array JSON fields ( #74 )
2025-07-03 13:30:01 +02:00
Yiming Cao
a4a5cbae45
fix: several fixes about Json and Unsupported field types ( #73 )
2025-07-03 09:06:35 +02:00
Yiming Cao
d259709ee9
feat: implement raw queries ( #69 )
...
* feat: implement raw queries
* add coderabbit config
* fixes
2025-07-02 18:58:45 +02:00
Yiming Cao
e202d73414
Merge branch 'dev' into dev
2025-06-25 11:39:06 +08:00
Yiming Cao
df9f318e78
fix: incorrect computed field typing for optional fields ( #40 )
...
* fix: incorrect computed field typing for optional fields
fixes #33
* fix tests
2025-06-25 11:26:36 +08:00
FTB_lag
4f1183546d
chore: remove unused spaces
2025-06-23 00:17:30 +03:00
Yiming Cao
088c41a7dc
chore: upgrade eslint ( #36 )
2025-06-21 23:26:56 +08:00
Yiming Cao
cfa33af84c
chore: update to zod4 ( #34 )
2025-06-21 20:53:41 +08:00
Yiming Cao
0badf91d20
fix: misc fixes ( #30 )
2025-06-18 11:41:50 +08:00
Yiming Cao
6cd7e2eff1
refactor: get rid of ds config provider from generated schema ( #28 )
...
* refactor: get rid of ds config provider from generated schema
* update
2025-06-17 21:03:48 +08:00
Yiming Cao
53bf171022
docs: add JSDoc ( #22 )
2025-06-16 12:02:02 +08:00
Yiming Cao
9bf9479f42
fix: crud typing fixes and more test cases ( #21 )
2025-06-15 08:44:05 +08:00
Yiming Cao
22246e87c9
chore: enable lint and CI ( #17 )
...
* chore: enable lint and CI
* get rid of cyclic dependencies
* add missing eslint plugin packages
* fix build
2025-06-13 09:49:11 +08:00
Yiming Cao
01580a7b6b
feat: compound id fields support ( #16 )
2025-06-12 10:26:36 +08:00
Yiming Cao
b4321e7728
feat: many-to-many relations ( #15 )
...
* feat: many-to-many relation (sqlite only)
* postgres support
2025-06-08 22:24:59 -07:00
Yiming Cao
7537e1e095
feat: support for scalar list types ( #14 )
2025-06-04 22:54:15 -07:00
Yiming Cao
70f0662293
feat: numeric field incremental update ( #13 )
2025-06-03 16:34:10 -07:00
Yiming Cao
4d35e6bc9e
feat: implement cursor and negative take ( #12 )
2025-06-02 22:24:45 -07:00
Yiming Cao
5607673e88
feat: support negative take and default order ( #11 )
2025-06-02 11:49:05 -07:00
Yiming Cao
0e36134d05
feat: select distinct ( #10 )
2025-06-01 22:34:44 -07:00
Yiming Cao
7ecbe4c6f1
postgres array type support ( #9 )
2025-05-31 19:13:32 -07:00
Yiming Cao
9896d6965d
implementing groupBy ( #8 )
...
* groupby WIP
* more test cases for groupBy
2025-05-29 14:29:00 -07:00
Yiming Cao
8ceca57cb3
upsert support and fixes about "omit" ( #7 )
2025-05-25 23:12:54 -07:00
Yiming Cao
0450d8beb9
more test cases pass for policy ( #4 )
2025-05-14 23:01:10 -07:00
Yiming Cao
e35a0aed57
getting more policy test cases to pass ( #3 )
2025-05-12 18:17:23 -07:00