mirror of
https://github.com/actix/examples
synced 2024-11-24 23:02:59 +01:00
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
|
{
|
||
|
"db": "SQLite",
|
||
|
"2f4086eab47b13298a107ed8c0feaadab903468b8e4fbd39e465f581c7189272": {
|
||
|
"query": "\n DELETE FROM tasks\n WHERE id = $1\n ",
|
||
|
"describe": {
|
||
|
"columns": [],
|
||
|
"parameters": {
|
||
|
"Right": 1
|
||
|
},
|
||
|
"nullable": []
|
||
|
}
|
||
|
},
|
||
|
"37443376215969e31bc6bc1ee00f01044647d95caf8efc61df7bf333b6a2149d": {
|
||
|
"query": "\n UPDATE tasks\n SET completed = NOT completed\n WHERE id = $1\n ",
|
||
|
"describe": {
|
||
|
"columns": [],
|
||
|
"parameters": {
|
||
|
"Right": 1
|
||
|
},
|
||
|
"nullable": []
|
||
|
}
|
||
|
},
|
||
|
"3a5b2a81088aa91ade3106165f926c337a88f4e29ae3bb170c4b687208aba20d": {
|
||
|
"query": "\n SELECT *\n FROM tasks\n ",
|
||
|
"describe": {
|
||
|
"columns": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"ordinal": 0,
|
||
|
"type_info": "Int64"
|
||
|
},
|
||
|
{
|
||
|
"name": "description",
|
||
|
"ordinal": 1,
|
||
|
"type_info": "Text"
|
||
|
},
|
||
|
{
|
||
|
"name": "completed",
|
||
|
"ordinal": 2,
|
||
|
"type_info": "Bool"
|
||
|
}
|
||
|
],
|
||
|
"parameters": {
|
||
|
"Right": 0
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"ab058898a8a1b13174d03c9972af33214619f8aa3080bc27f88bd5b9212b8c0f": {
|
||
|
"query": "\n INSERT INTO tasks (description)\n VALUES ($1)\n ",
|
||
|
"describe": {
|
||
|
"columns": [],
|
||
|
"parameters": {
|
||
|
"Right": 1
|
||
|
},
|
||
|
"nullable": []
|
||
|
}
|
||
|
}
|
||
|
}
|