2021-03-27 10:14:14 +01:00
|
|
|
{
|
|
|
|
"db": "SQLite",
|
|
|
|
"01e68928ea67ef301d8ea72a320fe747dafbfaa398a22731effb93d23ae16a77": {
|
|
|
|
"query": "UPDATE links SET\n title = ?,\n target = ?,\n code = ?,\n author = ?,\n created_at = ? where id = ?",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 6
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"04640e79c590ae8b845b6281a786ebe72060d02ee98eaec4839d1525bde3b0b5": {
|
|
|
|
"query": "Select * from links where code = ? ",
|
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"ordinal": 0,
|
|
|
|
"type_info": "Int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "title",
|
|
|
|
"ordinal": 1,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "target",
|
|
|
|
"ordinal": 2,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "code",
|
|
|
|
"ordinal": 3,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "author",
|
|
|
|
"ordinal": 4,
|
|
|
|
"type_info": "Int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "created_at",
|
|
|
|
"ordinal": 5,
|
|
|
|
"type_info": "Datetime"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 1
|
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"0d5cc1ab073e15c4306ef2bfc89aeefd6daa409766741c21f9eb0115b0f24eb1": {
|
|
|
|
"query": "UPDATE users SET\n username = ?,\n email = ?,\n password = ?,\n role = ? where id = ?",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 5
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"109ddc9fa55a36541ed1a866d362ff666bb39c3672f72000e786f86b514dc239": {
|
|
|
|
"query": "Select * from users where id = ? ",
|
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"ordinal": 0,
|
|
|
|
"type_info": "Int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "username",
|
|
|
|
"ordinal": 1,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "email",
|
|
|
|
"ordinal": 2,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "password",
|
|
|
|
"ordinal": 3,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "role",
|
|
|
|
"ordinal": 4,
|
|
|
|
"type_info": "Int64"
|
2021-04-02 17:41:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "language",
|
|
|
|
"ordinal": 5,
|
|
|
|
"type_info": "Text"
|
2021-03-27 10:14:14 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 1
|
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
2021-04-02 17:41:27 +02:00
|
|
|
false,
|
2021-03-27 10:14:14 +01:00
|
|
|
false
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2021-05-20 16:18:06 +02:00
|
|
|
"3ad5584fcb0c2685339e471320e8d0c091b684ffe86912a1f2540eee1444889d": {
|
|
|
|
"query": "Insert into clicks (\n link,\n created_at) VALUES (?,?)",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 2
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"5624dec3d87f37ae3f77fb265ace3075b8e46bdcc0af273e0f28d4e1a89b6e9e": {
|
|
|
|
"query": "Select * from links where id = ? ",
|
2021-03-27 10:14:14 +01:00
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"ordinal": 0,
|
|
|
|
"type_info": "Int64"
|
|
|
|
},
|
|
|
|
{
|
2021-05-20 16:18:06 +02:00
|
|
|
"name": "title",
|
2021-03-27 10:14:14 +01:00
|
|
|
"ordinal": 1,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
2021-05-20 16:18:06 +02:00
|
|
|
"name": "target",
|
2021-03-27 10:14:14 +01:00
|
|
|
"ordinal": 2,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
2021-05-20 16:18:06 +02:00
|
|
|
"name": "code",
|
2021-03-27 10:14:14 +01:00
|
|
|
"ordinal": 3,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
2021-05-20 16:18:06 +02:00
|
|
|
"name": "author",
|
2021-03-27 10:14:14 +01:00
|
|
|
"ordinal": 4,
|
|
|
|
"type_info": "Int64"
|
2021-04-02 17:41:27 +02:00
|
|
|
},
|
|
|
|
{
|
2021-05-20 16:18:06 +02:00
|
|
|
"name": "created_at",
|
2021-04-02 17:41:27 +02:00
|
|
|
"ordinal": 5,
|
2021-05-20 16:18:06 +02:00
|
|
|
"type_info": "Datetime"
|
2021-03-27 10:14:14 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
2021-05-20 16:18:06 +02:00
|
|
|
"Right": 1
|
2021-03-27 10:14:14 +01:00
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
2021-04-02 17:41:27 +02:00
|
|
|
false,
|
2021-03-27 10:14:14 +01:00
|
|
|
false
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"5919b8824209c31a76178f30b3d52f385931ee0f3aa17e65f8647ad15a3595d8": {
|
|
|
|
"query": "Insert into links (\n title,\n target,\n code,\n author,\n created_at) VALUES (?,?,?,?,?)",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 5
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"5d892d21ed6b4ccc3ddedb3a7469385f001f6ff9f41b19faa67b754ad8f7fc4b": {
|
|
|
|
"query": "Insert into users (\n username,\n email,\n password,\n role) VALUES (?,?,?,1)",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 3
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"77a21769284cb3df457d806d6e04088ae4f99d92c535fd15c79828e46ee3ae6f": {
|
|
|
|
"query": "UPDATE users SET role = ? where id = ?",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 2
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"7a52eae6cb72e4daac95a99d15113ab09571329733ea121fecc55d18dfdb1c45": {
|
|
|
|
"query": "DELETE from links where code = ? ",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 1
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"8670a2dacd013de68831d0a45d927ea9f473d86100387fc85c9b9802668c3de4": {
|
|
|
|
"query": "Select * from users where username = ? ",
|
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"ordinal": 0,
|
|
|
|
"type_info": "Int64"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "username",
|
|
|
|
"ordinal": 1,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "email",
|
|
|
|
"ordinal": 2,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "password",
|
|
|
|
"ordinal": 3,
|
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "role",
|
|
|
|
"ordinal": 4,
|
|
|
|
"type_info": "Int64"
|
2021-04-02 17:41:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "language",
|
|
|
|
"ordinal": 5,
|
|
|
|
"type_info": "Text"
|
2021-03-27 10:14:14 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 1
|
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
2021-04-02 17:41:27 +02:00
|
|
|
false,
|
2021-03-27 10:14:14 +01:00
|
|
|
false
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"9cb2f491eab760ba60ede5b3e730b84d061fc09627579ff05bc63d3e27fe8fb7": {
|
|
|
|
"query": "select count(*) as number from users where role = 2",
|
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"name": "number",
|
|
|
|
"ordinal": 0,
|
|
|
|
"type_info": "Int"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 0
|
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false
|
|
|
|
]
|
|
|
|
}
|
2021-04-02 17:41:27 +02:00
|
|
|
},
|
|
|
|
"ba18635aa20b30d92172fa60fa22c6dba7e5cb2f57106e9d13cdab556af80fd3": {
|
|
|
|
"query": "UPDATE users SET language = ? where id = ?",
|
|
|
|
"describe": {
|
|
|
|
"columns": [],
|
|
|
|
"parameters": {
|
|
|
|
"Right": 2
|
|
|
|
},
|
|
|
|
"nullable": []
|
|
|
|
}
|
2021-03-27 10:14:14 +01:00
|
|
|
}
|
|
|
|
}
|