pub fn compile_claim_select( dialect: Dialect, schema: &AppSchema, claim: &Claim, ) -> Result<Statement, DatabaseError>
Compiles an ordered, one-record claim selection with backend row locking.