Skip to content

Commit

Permalink
Merge pull request #62 from CRBroughton/61-add-information-about-the-…
Browse files Browse the repository at this point in the history
…supported-versions

docs: 📝 update readme files with most recently tested dependency…
  • Loading branch information
CRBroughton authored Apr 12, 2024
2 parents d1e689f + 0866f6e commit 48e7dc1
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ If you choose to use Sibyl with `sql.js`, `sql.js` will provide the lower-level
embedded SQLite database. You'll also need to install the `.wasm` file that `sql.js`
provides; Please see their documentation at https://sql.js.org.

The SQL.js implementation has been tested against SQL.js version 1.10.2.

With the `.wasm` file now available, you can install Sibyl with the following command:

```bash
Expand All @@ -34,6 +36,8 @@ bun install @crbroughton/sibyl_bun
Sibyl will then accept the native Bun SQLite `Database`, again, see the <a href="https://bun.sh/docs/api/sqlite">
Bun documentation</a>.

The Bun implementation has been tested against Bun version 1.1.3.

#### libSQL Installation

The libSQL implemenation of Sibyl can be installed
Expand All @@ -45,6 +49,8 @@ bun install @crbroughton/sibyl_libsql libsql
Sibyl will then accept libSQL `Database`, then see the <a href="https://github.com/tursodatabase/libsql-js?tab=readme-ov-file#getting-started">
libSQL Getting Started Guide</a>.

The libSQL implementation has been tested against libSQL version 0.3.11.

#### Getting Started

To start off with Sibyl, you'll first have to ensure Sibyl is able to be run inside
Expand Down
19 changes: 19 additions & 0 deletions src/bun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ If you choose to use Sibyl with `sql.js`, `sql.js` will provide the lower-level
embedded SQLite database. You'll also need to install the `.wasm` file that `sql.js`
provides; Please see their documentation at https://sql.js.org.

The SQL.js implementation has been tested against SQL.js version 1.10.2.

With the `.wasm` file now available, you can install Sibyl with the following command:

```bash
Expand All @@ -34,6 +36,8 @@ bun install @crbroughton/sibyl_bun
Sibyl will then accept the native Bun SQLite `Database`, again, see the <a href="https://bun.sh/docs/api/sqlite">
Bun documentation</a>.

The Bun implementation has been tested against Bun version 1.1.3.

#### libSQL Installation

The libSQL implemenation of Sibyl can be installed
Expand All @@ -45,6 +49,8 @@ bun install @crbroughton/sibyl_libsql libsql
Sibyl will then accept libSQL `Database`, then see the <a href="https://github.com/tursodatabase/libsql-js?tab=readme-ov-file#getting-started">
libSQL Getting Started Guide</a>.

The libSQL implementation has been tested against libSQL version 0.3.11.

#### Getting Started

To start off with Sibyl, you'll first have to ensure Sibyl is able to be run inside
Expand Down Expand Up @@ -234,6 +240,19 @@ const updatedEntry = Update('firstTable', { // infers the table and response typ
}
})
```
### Sorting

Sibyl offers some basic sorting options, whenever you're returning
entries from the database:

```typescript
const actual = All('firstTable', {
sort: {
name: 'ASC', // This can be 'ASC' or 'DESC'
},
})
```

### Primary type

Sibyl offers a custom type, called the 'primary' type. When using
Expand Down
19 changes: 19 additions & 0 deletions src/libsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ If you choose to use Sibyl with `sql.js`, `sql.js` will provide the lower-level
embedded SQLite database. You'll also need to install the `.wasm` file that `sql.js`
provides; Please see their documentation at https://sql.js.org.

The SQL.js implementation has been tested against SQL.js version 1.10.2.

With the `.wasm` file now available, you can install Sibyl with the following command:

```bash
Expand All @@ -34,6 +36,8 @@ bun install @crbroughton/sibyl_bun
Sibyl will then accept the native Bun SQLite `Database`, again, see the <a href="https://bun.sh/docs/api/sqlite">
Bun documentation</a>.

The Bun implementation has been tested against Bun version 1.1.3.

#### libSQL Installation

The libSQL implemenation of Sibyl can be installed
Expand All @@ -45,6 +49,8 @@ bun install @crbroughton/sibyl_libsql libsql
Sibyl will then accept libSQL `Database`, then see the <a href="https://github.com/tursodatabase/libsql-js?tab=readme-ov-file#getting-started">
libSQL Getting Started Guide</a>.

The libSQL implementation has been tested against libSQL version 0.3.11.

#### Getting Started

To start off with Sibyl, you'll first have to ensure Sibyl is able to be run inside
Expand Down Expand Up @@ -234,6 +240,19 @@ const updatedEntry = Update('firstTable', { // infers the table and response typ
}
})
```
### Sorting

Sibyl offers some basic sorting options, whenever you're returning
entries from the database:

```typescript
const actual = All('firstTable', {
sort: {
name: 'ASC', // This can be 'ASC' or 'DESC'
},
})
```

### Primary type

Sibyl offers a custom type, called the 'primary' type. When using
Expand Down
19 changes: 19 additions & 0 deletions src/sqljs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ If you choose to use Sibyl with `sql.js`, `sql.js` will provide the lower-level
embedded SQLite database. You'll also need to install the `.wasm` file that `sql.js`
provides; Please see their documentation at https://sql.js.org.

The SQL.js implementation has been tested against SQL.js version 1.10.2.

With the `.wasm` file now available, you can install Sibyl with the following command:

```bash
Expand All @@ -34,6 +36,8 @@ bun install @crbroughton/sibyl_bun
Sibyl will then accept the native Bun SQLite `Database`, again, see the <a href="https://bun.sh/docs/api/sqlite">
Bun documentation</a>.

The Bun implementation has been tested against Bun version 1.1.3.

#### libSQL Installation

The libSQL implemenation of Sibyl can be installed
Expand All @@ -45,6 +49,8 @@ bun install @crbroughton/sibyl_libsql libsql
Sibyl will then accept libSQL `Database`, then see the <a href="https://github.com/tursodatabase/libsql-js?tab=readme-ov-file#getting-started">
libSQL Getting Started Guide</a>.

The libSQL implementation has been tested against libSQL version 0.3.11.

#### Getting Started

To start off with Sibyl, you'll first have to ensure Sibyl is able to be run inside
Expand Down Expand Up @@ -234,6 +240,19 @@ const updatedEntry = Update('firstTable', { // infers the table and response typ
}
})
```
### Sorting

Sibyl offers some basic sorting options, whenever you're returning
entries from the database:

```typescript
const actual = All('firstTable', {
sort: {
name: 'ASC', // This can be 'ASC' or 'DESC'
},
})
```

### Primary type

Sibyl offers a custom type, called the 'primary' type. When using
Expand Down

0 comments on commit 48e7dc1

Please sign in to comment.