{ "db_name": "PostgreSQL", "query": "\n SELECT COUNT(*) FROM activity_logs\n WHERE ($1::uuid IS NULL OR actor_id = $1)\n AND ($2::text IS NULL OR entity_type = $2)\n AND ($3::text IS NULL OR action = $3)\n AND ($4::timestamptz IS NULL OR created_at >= $4)\n AND ($5::timestamptz IS NULL OR created_at <= $5)\n ", "describe": { "columns": [ { "ordinal": 0, "name": "count", "type_info": "Int8" } ], "parameters": { "Left": [ "Uuid", "Text", "Text", "Timestamptz", "Timestamptz" ] }, "nullable": [ null ] }, "hash": "b1bc1aba6762f2e6f0589a6f819e78b0ea69148ec0b1f09fc3561bc9a9c454c4" }