86 lines
1.8 KiB
JSON
86 lines
1.8 KiB
JSON
|
{
|
||
|
"db_name": "PostgreSQL",
|
||
|
"query": "select * from entry\n where deleted_at is null\n and feed_id = $1\n and (published_at, entry_id) < ($2, $3)\n order by published_at desc, entry_id desc\n limit $4\n ",
|
||
|
"describe": {
|
||
|
"columns": [
|
||
|
{
|
||
|
"ordinal": 0,
|
||
|
"name": "entry_id",
|
||
|
"type_info": "Uuid"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 1,
|
||
|
"name": "title",
|
||
|
"type_info": "Text"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 2,
|
||
|
"name": "url",
|
||
|
"type_info": "Varchar"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 3,
|
||
|
"name": "description",
|
||
|
"type_info": "Text"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 4,
|
||
|
"name": "feed_id",
|
||
|
"type_info": "Uuid"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 5,
|
||
|
"name": "etag_header",
|
||
|
"type_info": "Text"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 6,
|
||
|
"name": "last_modified_header",
|
||
|
"type_info": "Text"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 7,
|
||
|
"name": "published_at",
|
||
|
"type_info": "Timestamptz"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 8,
|
||
|
"name": "created_at",
|
||
|
"type_info": "Timestamptz"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 9,
|
||
|
"name": "updated_at",
|
||
|
"type_info": "Timestamptz"
|
||
|
},
|
||
|
{
|
||
|
"ordinal": 10,
|
||
|
"name": "deleted_at",
|
||
|
"type_info": "Timestamptz"
|
||
|
}
|
||
|
],
|
||
|
"parameters": {
|
||
|
"Left": [
|
||
|
"Uuid",
|
||
|
"Timestamptz",
|
||
|
"Uuid",
|
||
|
"Int8"
|
||
|
]
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
true,
|
||
|
false,
|
||
|
true,
|
||
|
false,
|
||
|
true,
|
||
|
true,
|
||
|
false,
|
||
|
false,
|
||
|
true,
|
||
|
true
|
||
|
]
|
||
|
},
|
||
|
"hash": "dbcba66aeae9ace8acc46f4ba28efea16a3e6eae3fdc1f81cd110fbf031efb1b"
|
||
|
}
|