[ { "name": "GetAuthorName", "cmd": ":one", "columns": [ { "name": "name", "type": { "name": "text" }, "table": "authors" } ], "params": [ { "number": 1, "column": { "name": "id", "type": { "name": "bigint" }, "table": "authors" } } ], "ast": { "tag": "RawStmt", "stmt": { "tag": "SelectStmt", "distinct_clause": { "tag": "List" }, "target_list": { "tag": "List", "items": [ { "tag": "ResTarget", "indirection": { "tag": "List" }, "val": { "tag": "ColumnRef", "name": "", "fields": { "tag": "List", "items": [ { "tag": "String", "str": "name" } ] }, "location": 35 }, "location": 35 } ] }, "from_clause": { "tag": "List", "items": [ { "tag": "RangeVar", "relname": "authors", "inh": true, "relpersistence": 112, "location": 45 } ] }, "where_clause": { "tag": "A_Expr", "kind": 1, "name": { "tag": "List", "items": [ { "tag": "String", "str": "=" } ] }, "lexpr": { "tag": "ColumnRef", "name": "", "fields": { "tag": "List", "items": [ { "tag": "String", "str": "id" } ] }, "location": 59 }, "rexpr": { "tag": "ParamRef", "number": 1, "location": 64, "dollar": true }, "location": 62 }, "group_clause": { "tag": "List" }, "having_clause": { "tag": "TODO" }, "window_clause": { "tag": "List" }, "values_lists": { "tag": "List" }, "sort_clause": { "tag": "List" }, "limit_offset": { "tag": "TODO" }, "limit_count": { "tag": "TODO" }, "locking_clause": { "tag": "List" }, "op": 0, "all": false }, "stmt_location": 0, "stmt_len": 66 } } ]