feat(sqlx): add prepared statements
This commit is contained in:
26
.sqlx/query-117e7029e31f9283bbed6b5b3df23c4cdc025b9f7f14a392d63a99e8caef65cb.json
generated
Normal file
26
.sqlx/query-117e7029e31f9283bbed6b5b3df23c4cdc025b9f7f14a392d63a99e8caef65cb.json
generated
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "SELECT * FROM RelayLabels ORDER BY relay_id",
|
||||||
|
"describe": {
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"name": "relay_id",
|
||||||
|
"ordinal": 0,
|
||||||
|
"type_info": "Integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "label",
|
||||||
|
"ordinal": 1,
|
||||||
|
"type_info": "Text"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 0
|
||||||
|
},
|
||||||
|
"nullable": [
|
||||||
|
false,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"hash": "117e7029e31f9283bbed6b5b3df23c4cdc025b9f7f14a392d63a99e8caef65cb"
|
||||||
|
}
|
||||||
26
.sqlx/query-15738a0f943596d60a342c973435b94e1b7dc3199ad9fb400db6db349141b560.json
generated
Normal file
26
.sqlx/query-15738a0f943596d60a342c973435b94e1b7dc3199ad9fb400db6db349141b560.json
generated
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "SELECT * FROM RelayLabels WHERE relay_id = ?1",
|
||||||
|
"describe": {
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"name": "relay_id",
|
||||||
|
"ordinal": 0,
|
||||||
|
"type_info": "Integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "label",
|
||||||
|
"ordinal": 1,
|
||||||
|
"type_info": "Text"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 1
|
||||||
|
},
|
||||||
|
"nullable": [
|
||||||
|
false,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"hash": "15738a0f943596d60a342c973435b94e1b7dc3199ad9fb400db6db349141b560"
|
||||||
|
}
|
||||||
12
.sqlx/query-50a914fac9783ac8afb0305f6225680017d32a0dd95932ddb736d7df3ca31550.json
generated
Normal file
12
.sqlx/query-50a914fac9783ac8afb0305f6225680017d32a0dd95932ddb736d7df3ca31550.json
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "INSERT OR REPLACE INTO RelayLabels (relay_id, label) VALUES (?1, ?2)",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 2
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "50a914fac9783ac8afb0305f6225680017d32a0dd95932ddb736d7df3ca31550"
|
||||||
|
}
|
||||||
12
.sqlx/query-720b84ab40bf4395727575b3cd6c25eff9198526705208ecdb25773f5cc80316.json
generated
Normal file
12
.sqlx/query-720b84ab40bf4395727575b3cd6c25eff9198526705208ecdb25773f5cc80316.json
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "DELETE FROM RelayLabels WHERE relay_id = ?1",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 1
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "720b84ab40bf4395727575b3cd6c25eff9198526705208ecdb25773f5cc80316"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user