Constant MUTATION

Source
pub const MUTATION: &str = "INSERT\n    OR IGNORE INTO mutation (\n        solution_id,\n        mutation_index,\n        key,\n        value\n    )\nVALUES\n    (\n       (\n            SELECT\n                solution.id\n            FROM\n                solution\n                JOIN solution_set ON solution_set.id = solution.solution_set_id\n            WHERE\n                solution_set.content_addr = :solution_set_addr AND solution.solution_index = :solution_index\n            LIMIT\n                1\n        ), :mutation_index, :key, :value\n    );\n";
Expand description
INSERT
    OR IGNORE INTO mutation (
        solution_id,
        mutation_index,
        key,
        value
    )
VALUES
    (
       (
            SELECT
                solution.id
            FROM
                solution
                JOIN solution_set ON solution_set.id = solution.solution_set_id
            WHERE
                solution_set.content_addr = :solution_set_addr AND solution.solution_index = :solution_index
            LIMIT
                1
        ), :mutation_index, :key, :value
    );