essential_builder_db::sql::query

Constant LATEST_SOLUTION_FAILURES

source
pub const LATEST_SOLUTION_FAILURES: &str = "SELECT\n    solution_addr, attempt_block_num, attempt_block_addr, attempt_solution_ix, err_msg\nFROM\n    solution_failure\nWHERE\n    solution_addr = :solution_addr\nORDER BY\n    attempt_block_num DESC, attempt_solution_ix DESC\nLIMIT :limit\n";
Expand description
SELECT
    solution_addr, attempt_block_num, attempt_block_addr, attempt_solution_ix, err_msg
FROM
    solution_failure
WHERE
    solution_addr = :solution_addr
ORDER BY
    attempt_block_num DESC, attempt_solution_ix DESC
LIMIT :limit