Skip to content

Commit

Permalink
implement SQLite dialect. closes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
koskimas committed Dec 9, 2021
1 parent 0450591 commit 83b9a5a
Show file tree
Hide file tree
Showing 64 changed files with 3,092 additions and 716 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ using Kysely and can't find something you'd want to use, please open an issue or

# Installation

Kysely currently works on PostgreSQL and MySQL. You can install it using
Kysely currently works on PostgreSQL, MySQL and SQLite. You can install it using

```
# postgres
# PostgreSQL
npm install kysely pg
# mysql
# MySQL
npm install kysely mysql2
# SQLite
npm install kysely better-sqlite3
```

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

// You'd create one of these when you start your app.
const db = new Kysely<Database>({
// Use MysqlDialect for MySQL and SqliteDialect for SQLite.
dialect: new PostgresDialect({
host: 'localhost',
database: 'kysely_test',
Expand Down
Loading

0 comments on commit 83b9a5a

Please sign in to comment.