rsnext/examples/with-edgedb/client.ts
Colin McDonnell 842e4ec023
Add with-edgedb example (#35929)
## Documentation / Examples
 
- [X] Make sure the linting passes by running `yarn lint`
2022-04-27 16:49:17 +00:00

9 lines
266 B
TypeScript

import { createClient } from 'edgedb'
import e from './dbschema/edgeql-js'
// reads value of EDGEDB_DSN automatically
export const client = createClient({
// TLS configuration is beyond the scope of this example project
tlsSecurity: 'insecure',
})
export { e }