PostgreSQL 16.4 on aarch64-unknown-linux-gnu, compiled by aarch64-unknown-linux-gnu-gcc (GCC) 9.5.0, 64-bit
userId
// Generated with CLIimport { getXataClient } from "./xata";const xata = getXataClient();const table = "test";const userId = "hi";const result = await xata.db[table].filter({ userId: { $is: userId } }).getFirst();console.log(result);
[ { "create_table": { "name": "org", "columns": [ { "name": "id", "type": "integer", "pk": true }, { "name": "clerk_id", "type": "integer", "unique": true, "nullable": false }, { "name": "slug", "type": "varchar(255)", "unique": true, "nullable": false }, { "name": "name", "type": "varchar(255)", "unique": false, "nullable": false, "default": "''" } ] } }]
varchar(255)
name
"default": "''"