sqlitecloud-js icon indicating copy to clipboard operation
sqlitecloud-js copied to clipboard

Deno - Windows - TLS issue

Open Gioee opened this issue 1 year ago • 0 comments

Discussed in https://github.com/orgs/sqlitecloud/discussions/45

Originally posted by keef-ui October 1, 2024 I am running deno version 1.46.2. I run a basic script to query :

import { Database } from 'npm:@sqlitecloud/drivers'

let database = new Database("sqlitecloud://user:[email protected]:8860/chinook.db")

let name = 'Breaking The Rules'

let results = await database.sql`SELECT * FROM tracks WHERE name = ${name}`
console.log(results)

the query returns about one minute later with the result. But if I run the similar basic script in Node.js, the result comes back within seconds. My question is , has anyone tested the database module with Deno, if so what is the expected outcome?

Gioee avatar Oct 10 '24 15:10 Gioee