Is it possible to use the databricks-sql-nodejs driver in a create-react-app app?

testname1
New Contributor II

I'm using the typescript example for the databricks sql driver but I'm getting errors when compiling:

image.png

User16502773013
Databricks Employee
Databricks Employee

Hello @asdf fdsa​ ,

The NodeJS connector is built for NodeJS environment it will not integrate ReactJS

For cases where a web execution is needed we advise to use SQL Exec API

Please check documentation here for the same:

https://docs.databricks.com/sql/api/sql-execution-tutorial.html

Regards