mag-markov/.sqlx/query-a86fab3e2b1a1d2580a34...

32 lines
893 B
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT text, \"createdAt\"\n FROM note\n WHERE \"note\".\"userId\" = $1 \n AND \"note\".\"createdAt\" > $2\n AND \"note\".\"createdAt\" < NOW() \n AND \"note\".\"visibility\" IN ('public', 'home') \n AND ($4 OR (\"note\".\"cw\" IS NULL OR LOWER(\"note\".\"cw\") IN (SELECT UNNEST($3::VARCHAR[]))))",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "text",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "createdAt",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Text",
"Timestamptz",
"VarcharArray",
"Bool"
]
},
"nullable": [
true,
false
]
},
"hash": "a86fab3e2b1a1d2580a342221e82f8881c74a98f571b9063de9b7972cee15239"
}