Skip to content

Commit 985bfda

Browse files
feat: generate request files
1 parent a869bda commit 985bfda

14 files changed

Lines changed: 0 additions & 482 deletions

File tree

examples/MySqlConnectorDapperExample/request.json

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3226,48 +3226,6 @@
32263226
],
32273227
"filename": "query.sql"
32283228
},
3229-
{
3230-
"text": "SELECT authors.id, authors.name, authors.bio, bios.author_name, bios.name, bios.bio_type\nFROM authors \nINNER JOIN extended.bios bios\nON authors.name = bios.author_name\nWHERE authors.name = ?\nLIMIT 1",
3231-
"name": "GetAuthorExtendedBio",
3232-
"cmd": ":one",
3233-
"columns": [
3234-
{
3235-
"name": "authors",
3236-
"length": -1,
3237-
"type": {},
3238-
"embedTable": {
3239-
"name": "authors"
3240-
}
3241-
},
3242-
{
3243-
"name": "bios",
3244-
"length": -1,
3245-
"type": {},
3246-
"embedTable": {
3247-
"schema": "extended",
3248-
"name": "bios"
3249-
}
3250-
}
3251-
],
3252-
"parameters": [
3253-
{
3254-
"number": 1,
3255-
"column": {
3256-
"name": "name",
3257-
"notNull": true,
3258-
"length": -1,
3259-
"table": {
3260-
"name": "authors"
3261-
},
3262-
"type": {
3263-
"name": "text"
3264-
},
3265-
"originalName": "name"
3266-
}
3267-
}
3268-
],
3269-
"filename": "query.sql"
3270-
},
32713229
{
32723230
"text": "TRUNCATE TABLE extended.bios",
32733231
"name": "TruncateExtendedBios",

examples/MySqlConnectorDapperLegacyExample/request.json

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3226,48 +3226,6 @@
32263226
],
32273227
"filename": "query.sql"
32283228
},
3229-
{
3230-
"text": "SELECT authors.id, authors.name, authors.bio, bios.author_name, bios.name, bios.bio_type\nFROM authors \nINNER JOIN extended.bios bios\nON authors.name = bios.author_name\nWHERE authors.name = ?\nLIMIT 1",
3231-
"name": "GetAuthorExtendedBio",
3232-
"cmd": ":one",
3233-
"columns": [
3234-
{
3235-
"name": "authors",
3236-
"length": -1,
3237-
"type": {},
3238-
"embedTable": {
3239-
"name": "authors"
3240-
}
3241-
},
3242-
{
3243-
"name": "bios",
3244-
"length": -1,
3245-
"type": {},
3246-
"embedTable": {
3247-
"schema": "extended",
3248-
"name": "bios"
3249-
}
3250-
}
3251-
],
3252-
"parameters": [
3253-
{
3254-
"number": 1,
3255-
"column": {
3256-
"name": "name",
3257-
"notNull": true,
3258-
"length": -1,
3259-
"table": {
3260-
"name": "authors"
3261-
},
3262-
"type": {
3263-
"name": "text"
3264-
},
3265-
"originalName": "name"
3266-
}
3267-
}
3268-
],
3269-
"filename": "query.sql"
3270-
},
32713229
{
32723230
"text": "TRUNCATE TABLE extended.bios",
32733231
"name": "TruncateExtendedBios",

examples/MySqlConnectorExample/request.json

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3226,48 +3226,6 @@
32263226
],
32273227
"filename": "query.sql"
32283228
},
3229-
{
3230-
"text": "SELECT authors.id, authors.name, authors.bio, bios.author_name, bios.name, bios.bio_type\nFROM authors \nINNER JOIN extended.bios bios\nON authors.name = bios.author_name\nWHERE authors.name = ?\nLIMIT 1",
3231-
"name": "GetAuthorExtendedBio",
3232-
"cmd": ":one",
3233-
"columns": [
3234-
{
3235-
"name": "authors",
3236-
"length": -1,
3237-
"type": {},
3238-
"embedTable": {
3239-
"name": "authors"
3240-
}
3241-
},
3242-
{
3243-
"name": "bios",
3244-
"length": -1,
3245-
"type": {},
3246-
"embedTable": {
3247-
"schema": "extended",
3248-
"name": "bios"
3249-
}
3250-
}
3251-
],
3252-
"parameters": [
3253-
{
3254-
"number": 1,
3255-
"column": {
3256-
"name": "name",
3257-
"notNull": true,
3258-
"length": -1,
3259-
"table": {
3260-
"name": "authors"
3261-
},
3262-
"type": {
3263-
"name": "text"
3264-
},
3265-
"originalName": "name"
3266-
}
3267-
}
3268-
],
3269-
"filename": "query.sql"
3270-
},
32713229
{
32723230
"text": "TRUNCATE TABLE extended.bios",
32733231
"name": "TruncateExtendedBios",

examples/MySqlConnectorLegacyExample/request.json

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3226,48 +3226,6 @@
32263226
],
32273227
"filename": "query.sql"
32283228
},
3229-
{
3230-
"text": "SELECT authors.id, authors.name, authors.bio, bios.author_name, bios.name, bios.bio_type\nFROM authors \nINNER JOIN extended.bios bios\nON authors.name = bios.author_name\nWHERE authors.name = ?\nLIMIT 1",
3231-
"name": "GetAuthorExtendedBio",
3232-
"cmd": ":one",
3233-
"columns": [
3234-
{
3235-
"name": "authors",
3236-
"length": -1,
3237-
"type": {},
3238-
"embedTable": {
3239-
"name": "authors"
3240-
}
3241-
},
3242-
{
3243-
"name": "bios",
3244-
"length": -1,
3245-
"type": {},
3246-
"embedTable": {
3247-
"schema": "extended",
3248-
"name": "bios"
3249-
}
3250-
}
3251-
],
3252-
"parameters": [
3253-
{
3254-
"number": 1,
3255-
"column": {
3256-
"name": "name",
3257-
"notNull": true,
3258-
"length": -1,
3259-
"table": {
3260-
"name": "authors"
3261-
},
3262-
"type": {
3263-
"name": "text"
3264-
},
3265-
"originalName": "name"
3266-
}
3267-
}
3268-
],
3269-
"filename": "query.sql"
3270-
},
32713229
{
32723230
"text": "TRUNCATE TABLE extended.bios",
32733231
"name": "TruncateExtendedBios",

examples/NpgsqlDapperExample/request.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -34121,50 +34121,6 @@
3412134121
],
3412234122
"filename": "query.sql"
3412334123
},
34124-
{
34125-
"text": "SELECT MAX(c_integer) AS c_integer_v2, MAX(c_real) AS c_real_v2, MAX(c_varchar) AS c_varchar_v2, MAX(c_timestamp) AS c_timestamp_v2\nFROM postgres_types\nLIMIT 1",
34126-
"name": "GetPostgresTypeAggV2",
34127-
"cmd": ":one",
34128-
"columns": [
34129-
{
34130-
"name": "c_integer_v2",
34131-
"notNull": true,
34132-
"length": -1,
34133-
"isFuncCall": true,
34134-
"type": {
34135-
"name": "anyarray"
34136-
}
34137-
},
34138-
{
34139-
"name": "c_real_v2",
34140-
"notNull": true,
34141-
"length": -1,
34142-
"isFuncCall": true,
34143-
"type": {
34144-
"name": "anyarray"
34145-
}
34146-
},
34147-
{
34148-
"name": "c_varchar_v2",
34149-
"notNull": true,
34150-
"length": -1,
34151-
"isFuncCall": true,
34152-
"type": {
34153-
"name": "anyarray"
34154-
}
34155-
},
34156-
{
34157-
"name": "c_timestamp_v2",
34158-
"notNull": true,
34159-
"length": -1,
34160-
"isFuncCall": true,
34161-
"type": {
34162-
"name": "anyarray"
34163-
}
34164-
}
34165-
],
34166-
"filename": "query.sql"
34167-
},
3416834124
{
3416934125
"text": "INSERT INTO postgres_geometric_types (c_point, c_line, c_lseg, c_box, c_path, c_polygon, c_circle)\nVALUES ($1, $2, $3, $4, $5, $6, $7)",
3417034126
"name": "InsertPostgresGeoTypes",

examples/NpgsqlDapperLegacyExample/request.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -34121,50 +34121,6 @@
3412134121
],
3412234122
"filename": "query.sql"
3412334123
},
34124-
{
34125-
"text": "SELECT MAX(c_integer) AS c_integer_v2, MAX(c_real) AS c_real_v2, MAX(c_varchar) AS c_varchar_v2, MAX(c_timestamp) AS c_timestamp_v2\nFROM postgres_types\nLIMIT 1",
34126-
"name": "GetPostgresTypeAggV2",
34127-
"cmd": ":one",
34128-
"columns": [
34129-
{
34130-
"name": "c_integer_v2",
34131-
"notNull": true,
34132-
"length": -1,
34133-
"isFuncCall": true,
34134-
"type": {
34135-
"name": "anyarray"
34136-
}
34137-
},
34138-
{
34139-
"name": "c_real_v2",
34140-
"notNull": true,
34141-
"length": -1,
34142-
"isFuncCall": true,
34143-
"type": {
34144-
"name": "anyarray"
34145-
}
34146-
},
34147-
{
34148-
"name": "c_varchar_v2",
34149-
"notNull": true,
34150-
"length": -1,
34151-
"isFuncCall": true,
34152-
"type": {
34153-
"name": "anyarray"
34154-
}
34155-
},
34156-
{
34157-
"name": "c_timestamp_v2",
34158-
"notNull": true,
34159-
"length": -1,
34160-
"isFuncCall": true,
34161-
"type": {
34162-
"name": "anyarray"
34163-
}
34164-
}
34165-
],
34166-
"filename": "query.sql"
34167-
},
3416834124
{
3416934125
"text": "INSERT INTO postgres_geometric_types (c_point, c_line, c_lseg, c_box, c_path, c_polygon, c_circle)\nVALUES ($1, $2, $3, $4, $5, $6, $7)",
3417034126
"name": "InsertPostgresGeoTypes",

examples/NpgsqlExample/request.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -34121,50 +34121,6 @@
3412134121
],
3412234122
"filename": "query.sql"
3412334123
},
34124-
{
34125-
"text": "SELECT MAX(c_integer) AS c_integer_v2, MAX(c_real) AS c_real_v2, MAX(c_varchar) AS c_varchar_v2, MAX(c_timestamp) AS c_timestamp_v2\nFROM postgres_types\nLIMIT 1",
34126-
"name": "GetPostgresTypeAggV2",
34127-
"cmd": ":one",
34128-
"columns": [
34129-
{
34130-
"name": "c_integer_v2",
34131-
"notNull": true,
34132-
"length": -1,
34133-
"isFuncCall": true,
34134-
"type": {
34135-
"name": "anyarray"
34136-
}
34137-
},
34138-
{
34139-
"name": "c_real_v2",
34140-
"notNull": true,
34141-
"length": -1,
34142-
"isFuncCall": true,
34143-
"type": {
34144-
"name": "anyarray"
34145-
}
34146-
},
34147-
{
34148-
"name": "c_varchar_v2",
34149-
"notNull": true,
34150-
"length": -1,
34151-
"isFuncCall": true,
34152-
"type": {
34153-
"name": "anyarray"
34154-
}
34155-
},
34156-
{
34157-
"name": "c_timestamp_v2",
34158-
"notNull": true,
34159-
"length": -1,
34160-
"isFuncCall": true,
34161-
"type": {
34162-
"name": "anyarray"
34163-
}
34164-
}
34165-
],
34166-
"filename": "query.sql"
34167-
},
3416834124
{
3416934125
"text": "INSERT INTO postgres_geometric_types (c_point, c_line, c_lseg, c_box, c_path, c_polygon, c_circle)\nVALUES ($1, $2, $3, $4, $5, $6, $7)",
3417034126
"name": "InsertPostgresGeoTypes",

examples/NpgsqlLegacyExample/request.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -34121,50 +34121,6 @@
3412134121
],
3412234122
"filename": "query.sql"
3412334123
},
34124-
{
34125-
"text": "SELECT MAX(c_integer) AS c_integer_v2, MAX(c_real) AS c_real_v2, MAX(c_varchar) AS c_varchar_v2, MAX(c_timestamp) AS c_timestamp_v2\nFROM postgres_types\nLIMIT 1",
34126-
"name": "GetPostgresTypeAggV2",
34127-
"cmd": ":one",
34128-
"columns": [
34129-
{
34130-
"name": "c_integer_v2",
34131-
"notNull": true,
34132-
"length": -1,
34133-
"isFuncCall": true,
34134-
"type": {
34135-
"name": "anyarray"
34136-
}
34137-
},
34138-
{
34139-
"name": "c_real_v2",
34140-
"notNull": true,
34141-
"length": -1,
34142-
"isFuncCall": true,
34143-
"type": {
34144-
"name": "anyarray"
34145-
}
34146-
},
34147-
{
34148-
"name": "c_varchar_v2",
34149-
"notNull": true,
34150-
"length": -1,
34151-
"isFuncCall": true,
34152-
"type": {
34153-
"name": "anyarray"
34154-
}
34155-
},
34156-
{
34157-
"name": "c_timestamp_v2",
34158-
"notNull": true,
34159-
"length": -1,
34160-
"isFuncCall": true,
34161-
"type": {
34162-
"name": "anyarray"
34163-
}
34164-
}
34165-
],
34166-
"filename": "query.sql"
34167-
},
3416834124
{
3416934125
"text": "INSERT INTO postgres_geometric_types (c_point, c_line, c_lseg, c_box, c_path, c_polygon, c_circle)\nVALUES ($1, $2, $3, $4, $5, $6, $7)",
3417034126
"name": "InsertPostgresGeoTypes",

0 commit comments

Comments
 (0)