0.1.20 • Published 2 days ago

@xata.io/kysely v0.1.20

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 days ago

@xata.io/kysely

A Kysely dialect for Xata, using the Xata serverless driver for TypeScript.

Installation

You should install both kysely and @xata.io/kysely with @xata.io/client. You can install them with your favorite package manager:

# with pnpm
pnpm add kysely @xata.io/kysely @xata.io/client

# with yarn
yarn add kysely @xata.io/kysely @xata.io/client

# with npm
npm install kysely @xata.io/kysely @xata.io/client

Usage

You can pass a new instance of XataDialect as the dialect option when creating a new Kysely instance:

import { Kysely } from 'kysely';
import { XataDialect } from '@xata.io/kysely';

const db = new Kysely<Database>({
  xata // Your Xata client instance
});

XataDialect accepts your Xata client instance as its only option. You can find more information about creating a Xata client instance in our getting started guide.

0.1.20

30 days ago

0.1.19

2 months ago

0.1.18

2 months ago

0.1.17

3 months ago

0.1.16

3 months ago

0.1.15

3 months ago

0.1.14

5 months ago

0.1.13

5 months ago

1.0.0-next.0

5 months ago

0.1.12

5 months ago

0.1.11

5 months ago

0.1.10

6 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

9 months ago