{ "db_name": "SQLite", "query": "INSERT INTO subtitle_budget_spend (kind, name, day, spent)\n SELECT ?1, ?2, strftime('%Y-%m-%d', 'now'), ?3\n WHERE ?3 <= ?4\n ON CONFLICT (kind, name, day) DO UPDATE\n SET spent = subtitle_budget_spend.spent + excluded.spent\n WHERE subtitle_budget_spend.spent + excluded.spent <= ?4\n RETURNING spent AS \"spent!: i64\"", "describe": { "columns": [ { "name": "spent!: i64", "ordinal": 0, "type_info": "Integer", "origin": { "Table": { "table": "subtitle_budget_spend", "name": "spent" } } } ], "parameters": { "Right": 4 }, "nullable": [ false ] }, "hash": "6e27f3a4c642ac324ef5ae2017a54b93f1d95aa54c46ff7e169278a295d1a2cc" }