mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-09-02 03:34:07 +00:00
12 lines
1 KiB
JSON
12 lines
1 KiB
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "\n INSERT INTO contacts(user_id, username, signal_version, accepted, requested, requested_by_user, deleted_by_user, blocked)\n VALUES (?, COALESCE(?, '[Unknown]'), COALESCE(?, 'v2'), COALESCE(?, 0), COALESCE(?, 0), COALESCE(?, 0), COALESCE(?, 0), COALESCE(?, 0))\n ON CONFLICT(user_id) DO UPDATE SET\n username = COALESCE(?, contacts.username),\n signal_version = COALESCE(?, contacts.signal_version),\n accepted = COALESCE(?, contacts.accepted),\n requested = COALESCE(?, contacts.requested),\n requested_by_user = COALESCE(?, contacts.requested_by_user),\n deleted_by_user = COALESCE(?, contacts.deleted_by_user),\n blocked = COALESCE(?, contacts.blocked)\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 15
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "f9781437f2e81f692b2eb6e3760cd031856ef912a498275a4026754c84fc5839"
|
|
}
|