update docs

This commit is contained in:
Ari Lazier 2016-03-21 11:28:46 -07:00
parent f25d08dc04
commit 2d6360e1f2
1 changed files with 3 additions and 1 deletions

View File

@ -107,9 +107,11 @@ class Realm {
* Get the current schema version of the Realm at the given path.
* @param {string} path - The path to the file where the
* Realm database is stored.
* @param {string} encryptionKey - Optional encryption key.
* @throws {Error} When passing an invalid or non-matching encryption key.
* @returns {number} version of the schema, or `-1` if no Realm exists at `path`.
*/
Realm.schemaVersion = function(path) {};
Realm.schemaVersion = function(path, encryptionKey) {};
/**
* The default path where to create and access the Realm file.