update sqlx prepare
This commit is contained in:
parent
53093f4cce
commit
f20afe5447
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"db_name": "PostgreSQL",
|
"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": {
|
"describe": {
|
||||||
"columns": [
|
"columns": [
|
||||||
{
|
{
|
||||||
@ -28,5 +28,5 @@
|
|||||||
true
|
true
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"hash": "118e453e59594487fd01873c07d3dc9c8069187d1bcc6d30f6b4940fe694f0eb"
|
"hash": "4944507f02f1b6f85f2cc29af99771b74da955c0a9347fd1bd55036c38717ced"
|
||||||
}
|
}
|
||||||
@ -5,6 +5,8 @@ SELECT
|
|||||||
FROM
|
FROM
|
||||||
post AS p
|
post AS p
|
||||||
INNER JOIN feed AS f ON p.site = f.slug -- necessary to weed out nzb posts
|
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
|
ORDER BY date DESC
|
||||||
LIMIT 100;
|
LIMIT 100;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user