Filter out N/A cover_url in backfill select query
Switch node from visual select to executeQuery to exclude cover_url = 'N/A' entries which are not valid image URLs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
14c9bef002
commit
50548d44c4
@@ -1794,32 +1794,8 @@
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "select",
|
||||
"schema": {
|
||||
"__rl": true,
|
||||
"value": "n8n",
|
||||
"mode": "list",
|
||||
"cachedResultName": "n8n"
|
||||
},
|
||||
"table": {
|
||||
"__rl": true,
|
||||
"value": "movie_files",
|
||||
"mode": "list",
|
||||
"cachedResultName": "movie_files"
|
||||
},
|
||||
"returnAll": true,
|
||||
"where": {
|
||||
"values": [
|
||||
{
|
||||
"column": "cover_image",
|
||||
"condition": "IS NULL"
|
||||
},
|
||||
{
|
||||
"column": "cover_url",
|
||||
"condition": "IS NOT NULL"
|
||||
}
|
||||
]
|
||||
},
|
||||
"operation": "executeQuery",
|
||||
"query": "SELECT * FROM n8n.movie_files WHERE cover_image IS NULL AND cover_url IS NOT NULL AND cover_url != 'N/A'",
|
||||
"options": {}
|
||||
},
|
||||
"type": "n8n-nodes-base.postgres",
|
||||
|
||||
Reference in New Issue
Block a user