English
Appearance
basalt / comments-sqlite/src / sqliteCommentsStore
> sqliteCommentsStore(dbOrLocation?): SqliteCommentsStores
dbOrLocation?
SqliteCommentsStores
Defined in: comments-sqlite/src/index.ts:179
Open a database (or reuse a DatabaseSync) and return the comment store wired to it, named to drop straight into commentsPlugin:
DatabaseSync
commentsPlugin
const c = sqliteCommentsStore('./data/comments.db') commentsPlugin({ store: c.store })
string | DatabaseSync
string
basalt / comments-sqlite/src / sqliteCommentsStore
Function: sqliteCommentsStore()
> sqliteCommentsStore(
dbOrLocation?):SqliteCommentsStoresDefined in: comments-sqlite/src/index.ts:179
Open a database (or reuse a
DatabaseSync) and return the comment store wired to it, named to drop straight intocommentsPlugin:Parameters
dbOrLocation?
string|DatabaseSyncReturns
SqliteCommentsStores