Skip to content

Commit c1a8c90

Browse files
committed
feat: add jsonb support
1 parent 40a16f8 commit c1a8c90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bun.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"lockfileVersion": 1,
3+
"configVersion": 0,
34
"workspaces": {
45
"": {
56
"name": "@m1212e/rumble",

lib/helpers/sqlTypes/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function isDateLikeSQLTypeString(
7575
return dateLikeSQLTypeStrings.includes(sqlType as any);
7676
}
7777

78-
const jsonLikeSQLTypeStrings = ["json"] as const;
78+
const jsonLikeSQLTypeStrings = ["json", "jsonb"] as const;
7979

8080
export function isJSONLikeSQLTypeString(
8181
sqlType: string,

0 commit comments

Comments
 (0)