@syncular/dialect-neon
v0.0.6-159
Published
Neon serverless Postgres dialect for the Syncular client
Maintainers
Readme
@syncular/dialect-neon
Neon serverless Postgres Kysely dialect (HTTP).
Useful for stateless serverless/edge environments. Pair with @syncular/server-dialect-postgres when running a Syncular server on Postgres.
Install
npm install @syncular/dialect-neonUsage
import { createDatabase } from '@syncular/core';
import { createNeonDialect } from '@syncular/dialect-neon';
const db = createDatabase<MyDb>({
dialect: createNeonDialect({ connectionString: process.env.DATABASE_URL! }),
family: 'postgres',
});Documentation
- Dialect selection: https://syncular.dev/docs/introduction/installation#client-database-dialects
- Server dialects: https://syncular.dev/docs/server/dialects
Links
- GitHub: https://github.com/syncular/syncular
- Issues: https://github.com/syncular/syncular/issues
Status: Alpha. APIs may change between releases.
