chore: update sqlx prepare
This commit is contained in:
parent
51b5b5cd3b
commit
c3334d41f9
2 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "DELETE FROM records\nWHERE cache_name = ?;\n",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 1
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "206573166eaf1d57c70f9ed148a09b2da222b2a03ebac829fac72e38a3f4fcb9"
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "-- The funny alias used here is to allow sqlx to do type inference on columns\n-- See: https://docs.rs/sqlx/latest/sqlx/macro.query_as.html#column-type-override-infer-from-struct-field\nSELECT cache_name AS \"cache_name: _\"\nFROM records;\n",
|
||||||
|
"describe": {
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"name": "cache_name: _",
|
||||||
|
"ordinal": 0,
|
||||||
|
"type_info": "Text"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 0
|
||||||
|
},
|
||||||
|
"nullable": [
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"hash": "c5b7e87773cf935a3bb914c2b8685e093e92494c3e4179a6e42e629b9687dbb7"
|
||||||
|
}
|
Loading…
Reference in a new issue