mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
docs: Metadata new db vs opening db.
This commit is contained in:
@@ -121,7 +121,8 @@ const OrbitDB = async ({ ipfs, id, identities, directory } = {}) => {
|
||||
* the name of a new database.
|
||||
* @param {Object} params One or more database configuration parameters.
|
||||
* @param {string} [params.type=events] The database's type.
|
||||
* @param {*} [params.meta={}] The database's metadata.
|
||||
* @param {*} [params.meta={}] The database's metadata. Only applies when
|
||||
* creating a database and is not used when opening an existing database.
|
||||
* @param {boolean} [params.sync=true] If true, sync databases automatically.
|
||||
* Otherwise, false.
|
||||
* @param {module:Database} [params.Database=[Events]{@link module:Database.Database-Events}] A Database-compatible
|
||||
|
||||
Reference in New Issue
Block a user