Skip to content

Commit 83b9a5a

Browse files
committed
implement SQLite dialect. closes #19
1 parent 0450591 commit 83b9a5a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3092
-716
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,17 @@ using Kysely and can't find something you'd want to use, please open an issue or
3939

4040
# Installation
4141

42-
Kysely currently works on PostgreSQL and MySQL. You can install it using
42+
Kysely currently works on PostgreSQL, MySQL and SQLite. You can install it using
4343

4444
```
45-
# postgres
45+
# PostgreSQL
4646
npm install kysely pg
4747
48-
# mysql
48+
# MySQL
4949
npm install kysely mysql2
50+
51+
# SQLite
52+
npm install kysely better-sqlite3
5053
```
5154

5255
More dialects will be added soon. Kysely also has a simple interface
@@ -94,6 +97,7 @@ interface Database {
9497

9598
// You'd create one of these when you start your app.
9699
const db = new Kysely<Database>({
100+
// Use MysqlDialect for MySQL and SqliteDialect for SQLite.
97101
dialect: new PostgresDialect({
98102
host: 'localhost',
99103
database: 'kysely_test',

0 commit comments

Comments
 (0)