Skip to content

Commit

Permalink
open serverless driver debug option (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 authored Jan 10, 2024
1 parent 6172108 commit 81049f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_code/serverless-driver/ConnectTest.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect } from '@tidbcloud/serverless'

const conn = connect({url: process.env.DATABASE_URL})
const conn = connect({url: process.env.DATABASE_URL,debug: true})
const result = await conn.execute("show databases",null,{fullResult: true})
console.log(result)

0 comments on commit 81049f2

Please sign in to comment.