Create a FlightSqlClient.
Configuration options for the client
A new FlightSqlClient instance
const client = createFlightSqlClient({ url: "https://flight.example.com:8815", auth: { type: "bearer", token: "my-token" }})try { const table = await client.query("SELECT * FROM users") console.log(`Found ${table.numRows} users`)} finally { client.close()} Copy
const client = createFlightSqlClient({ url: "https://flight.example.com:8815", auth: { type: "bearer", token: "my-token" }})try { const table = await client.query("SELECT * FROM users") console.log(`Found ${table.numRows} users`)} finally { client.close()}
Create a FlightSqlClient.