Constant SOLUTION
Source pub const SOLUTION: &str = "INSERT\n OR IGNORE INTO solution (solution_set_id, solution_index, contract_addr, predicate_addr)\nVALUES\n (\n (\n SELECT\n id\n FROM\n solution_set\n WHERE\n content_addr = :solution_set_addr\n LIMIT\n 1\n ), :solution_index, :contract_addr, :predicate_addr\n )\n";
Expand description
INSERT
OR IGNORE INTO solution (solution_set_id, solution_index, contract_addr, predicate_addr)
VALUES
(
(
SELECT
id
FROM
solution_set
WHERE
content_addr = :solution_set_addr
LIMIT
1
), :solution_index, :contract_addr, :predicate_addr
)