Query
Just run a SQL query using this method:
// Initialize sdk
import tb from 'tinybird-sdk';
tb.init('p.eyJ1IjogIjZhNTdkYzFlCTM2ZTItNDNlYy04ZWRi...');
// Execute SQL query
const { meta, rows, statistics } = await tb.query('select * from test_datasource');