Skip to content

Commit 5d36a9a

Browse files
committed
cleanup
1 parent 76b5b09 commit 5d36a9a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/demo/mysql/json_operations.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { sql } from 'sqlx-ts'
33
// JSON_OBJECT basic - build object from columns
44
const jsonObjectBasic = sql`
55
-- @db: db_mysql
6-
-- @db: db_mysql
76
-- @name: json object basic
87
SELECT
98
items.id AS id,
@@ -14,7 +13,6 @@ FROM items
1413
// JSON_ARRAYAGG for aggregation - aggregate rows into JSON array
1514
const jsonArrayAggregation = sql`
1615
-- @db: db_mysql
17-
-- @db: db_mysql
1816
-- @name: json array aggregation
1917
SELECT
2018
items.rarity AS rarity,
@@ -26,7 +24,6 @@ GROUP BY items.rarity
2624
// JSON operators in SELECT - extract values
2725
const jsonOperatorsSelect = sql`
2826
-- @db: db_mysql
29-
-- @db: db_mysql
3027
-- @name: json operators select
3128
SELECT
3229
json_test_data.id AS id,

0 commit comments

Comments
 (0)