We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76b5b09 commit 5d36a9aCopy full SHA for 5d36a9a
1 file changed
tests/demo/mysql/json_operations.ts
@@ -3,7 +3,6 @@ import { sql } from 'sqlx-ts'
3
// JSON_OBJECT basic - build object from columns
4
const jsonObjectBasic = sql`
5
-- @db: db_mysql
6
--- @db: db_mysql
7
-- @name: json object basic
8
SELECT
9
items.id AS id,
@@ -14,7 +13,6 @@ FROM items
14
13
// JSON_ARRAYAGG for aggregation - aggregate rows into JSON array
15
const jsonArrayAggregation = sql`
16
17
18
-- @name: json array aggregation
19
20
items.rarity AS rarity,
@@ -26,7 +24,6 @@ GROUP BY items.rarity
26
24
// JSON operators in SELECT - extract values
27
25
const jsonOperatorsSelect = sql`
28
29
30
-- @name: json operators select
31
32
json_test_data.id AS id,
0 commit comments