Skip to content

Commit 9c3b2e0

Browse files
committed
doc: fix lint md
1 parent 74003f8 commit 9c3b2e0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

doc/api/sqlite.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ Creates and attaches a session to the database. This method is a wrapper around
171171
Takes the name of the table that a change targets as first argument. When this option is not
172172
provided all changes are attempted.
173173
* `onConflict` {number} Determines how conflicts are handled. When provided, must be one of the values below:
174-
- `SQLITE_CHANGESET_OMIT`: conflicting changes are either omitted.
175-
- `SQLITE_CHANGESET_REPLACE`: conflicting changes replace existing values.
176-
- `SQLITE_CHANGESET_ABORT`: abort on conflict and roll back databsase (default).
174+
* `SQLITE_CHANGESET_OMIT`: conflicting changes are either omitted.
175+
* `SQLITE_CHANGESET_REPLACE`: conflicting changes replace existing values.
176+
* `SQLITE_CHANGESET_ABORT`: abort on conflict and roll back databsase (default).
177177
* Returns: {boolean} Whether the changeset was applied succesfully without being aborted.
178178

179179
An exception is thrown if the database is not
@@ -212,8 +212,9 @@ An exception is thrown if the database is not open. This method is a wrapper aro
212212

213213
* Returns: {Uint8Array} Binary patchset that can be applied to other databases.
214214

215-
Similar to the method above, but generates a more compact patchset. See [Changesets and Patchsets][] in the documentation of SQLite.
216-
An exception is thrown if the database is not open. This method is a wrapper around [`sqlite3session_patchset()`][].
215+
Similar to the method above, but generates a more compact patchset. See [Changesets and Patchsets][]
216+
in the documentation of SQLite.An exception is thrown if the database is not open. This method is a
217+
wrapper around [`sqlite3session_patchset()`][].
217218

218219
## Class: `StatementSync`
219220

@@ -376,6 +377,7 @@ exception.
376377
| `TEXT` | `string` |
377378
| `BLOB` | `Uint8Array` |
378379

380+
[Changesets and Patchsets]: https://www.sqlite.org/sessionintro.html#changesets_and_patchsets
379381
[SQL injection]: https://en.wikipedia.org/wiki/SQL_injection
380382
[`--experimental-sqlite`]: cli.md#--experimental-sqlite
381383
[`sqlite3_changes64()`]: https://www.sqlite.org/c3ref/changes.html
@@ -385,12 +387,11 @@ exception.
385387
[`sqlite3_last_insert_rowid()`]: https://www.sqlite.org/c3ref/last_insert_rowid.html
386388
[`sqlite3_prepare_v2()`]: https://www.sqlite.org/c3ref/prepare.html
387389
[`sqlite3_sql()`]: https://www.sqlite.org/c3ref/expanded_sql.html
390+
[`sqlite3changeset_apply()`]: https://www.sqlite.org/session/sqlite3changeset_apply.html
388391
[`sqlite3session_attach()`]: https://www.sqlite.org/session/sqlite3session_attach.html
389-
[`sqlite3session_create()`]: https://www.sqlite.org/session/sqlite3session_create.html
390392
[`sqlite3session_changeset()`]: https://www.sqlite.org/session/sqlite3session_changeset.html
393+
[`sqlite3session_create()`]: https://www.sqlite.org/session/sqlite3session_create.html
391394
[`sqlite3session_patchset()`]: https://www.sqlite.org/session/sqlite3session_patchset.html
392-
[`sqlite3changeset_apply()`]: https://www.sqlite.org/session/sqlite3changeset_apply.html
393-
[Changesets and Patchsets]: https://www.sqlite.org/sessionintro.html#changesets_and_patchsets
394395
[connection]: https://www.sqlite.org/c3ref/sqlite3.html
395396
[data types]: https://www.sqlite.org/datatype3.html
396397
[in memory]: https://www.sqlite.org/inmemorydb.html

0 commit comments

Comments
 (0)