-- name: InsertYaraResults :one
INSERT INTO yara_results (
 file_id, matched
) VALUES ($1, $2)
RETURNING *;

-- name: GetYaraResults :one
SELECT * FROM yara_results
WHERE file_id = $1
LIMIT 1;

-- name: DeleteYaraResults :exec
DELETE FROM yara_results
WHERE id = $1;
