Skip to content

Commit

Permalink
Remove export keyword from method examples
Browse files Browse the repository at this point in the history
  • Loading branch information
DallasHoff committed Oct 24, 2024
1 parent 2bb6c5d commit 5570453
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/api/batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `batch` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { batch } = new SQLocal('database.sqlite3');
const { batch } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/createcallbackfunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `createCallbackFunction` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { createCallbackFunction } = new SQLocal('database.sqlite3');
const { createCallbackFunction } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/createscalarfunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `createScalarFunction` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { createScalarFunction } = new SQLocal('database.sqlite3');
const { createScalarFunction } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/deletedatabasefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `deleteDatabaseFile` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { deleteDatabaseFile } = new SQLocal('database.sqlite3');
const { deleteDatabaseFile } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/destroy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `destroy` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { destroy } = new SQLocal('database.sqlite3');
const { destroy } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/getdatabasefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `getDatabaseFile` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { getDatabaseFile } = new SQLocal('database.sqlite3');
const { getDatabaseFile } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/getdatabaseinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `getDatabaseInfo` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { getDatabaseInfo } = new SQLocal('database.sqlite3');
const { getDatabaseInfo } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/overwritedatabasefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `overwriteDatabaseFile` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { overwriteDatabaseFile } = new SQLocal('database.sqlite3');
const { overwriteDatabaseFile } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `sql` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { sql } = new SQLocal('database.sqlite3');
const { sql } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access or destructure `transaction` from the `SQLocal` client.
```javascript
import { SQLocal } from 'sqlocal';

export const { transaction } = new SQLocal('database.sqlite3');
const { transaction } = new SQLocal('database.sqlite3');
```

<!-- @include: ../_partials/initialization-note.md -->
Expand Down

0 comments on commit 5570453

Please sign in to comment.