update sqlx prepare

This commit is contained in:
Bill Thiede 2025-01-30 13:55:38 -08:00
parent 53093f4cce
commit f20afe5447
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "SELECT\n p.id,\n link,\n clean_summary\nFROM\n post AS p\nINNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts\nWHERE\n search_summary IS NULL\n -- TODO remove\n AND link ~ '^<'\nORDER BY date DESC\nLIMIT 100;\n",
"query": "SELECT\n p.id,\n link,\n clean_summary\nFROM\n post AS p\nINNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts\nWHERE\n search_summary IS NULL\n -- TODO remove AND link ~ '^<'\nORDER BY date DESC\nLIMIT 100;\n",
"describe": {
"columns": [
{
@ -28,5 +28,5 @@
true
]
},
"hash": "118e453e59594487fd01873c07d3dc9c8069187d1bcc6d30f6b4940fe694f0eb"
"hash": "4944507f02f1b6f85f2cc29af99771b74da955c0a9347fd1bd55036c38717ced"
}

View File

@ -5,6 +5,8 @@ SELECT
FROM
post AS p
INNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts
WHERE search_summary IS NULL
WHERE
search_summary IS NULL
-- TODO remove AND link ~ '^<'
ORDER BY date DESC
LIMIT 100;