qwame
qwame
XXata
Created by qwame on 10/9/2024 in #help
Sql over http unused parameters.
I need help using the typescript sdk to pull data using sql.
const my_nam = 'interbro'
const my_date = '2020-04-01'
const result = await xata.sql`SELECT * FROM table WHERE name = ${my_nam} AND date = ${my_date}
const my_nam = 'interbro'
const my_date = '2020-04-01'
const result = await xata.sql`SELECT * FROM table WHERE name = ${my_nam} AND date = ${my_date}
When I run this, I get the error, Invalid SQL: unused parameters: used 1 of 2 parameters. status: 400 Any help?
7 replies
XXata
Created by qwame on 3/13/2024 in #help
Should I commit `.ledger` dir
I am using xata in a node js framework. Should I be committing the .ledger folder to git?
3 replies
XXata
Created by qwame on 2/10/2024 in #help
Restore deleted rows
Hi, I mistakenly deleted a row in my table. Is there a way to restore this?
5 replies