Skip to content

Commit 35f5a29

Browse files
committed
Merge branch 'master' of https://github.com/c-smile/quickjspp
2 parents cf9901f + b5e802a commit 35f5a29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

storage/doc/Storage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ Represents persistent storage.
2222

2323
Commits (writes) all persistent objects reachable from its root into storage.
2424

25-
* ```storage.createIndex(type : string [, unique: bool]) returns: Index | null
25+
* ```storage.createIndex(type : string [, unique: bool]) returns: Index | null```
2626

27-
Creates an index of given type and returns the index object. Index could have unique or duplicated keys depending on unique argument. Default value for unique is true. Supported types: "integer", "long", "float", "date" and "string".
27+
Creates an index of given type and returns the index object. Index can have unique or duplicated keys depending on unique argument. Default value for *unique* is *true*. Supported types: "integer", "long", "float", "date" and "string".

storage/doc/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Each persistent JS object and array can be in one of four states:
2020
* ```JS_NOT_PERSISTENT``` - not persistent at the moment
2121
* ```JS_PERSISTENT_DORMANT``` - object is persistent but is "dormant", it holds just a reference - item ID in terms of DyBase (dybase_oid_t). Object in this state has no properties or elements loaded into it - it is a {proxy-ref}erence.
2222
* ```JS_PERSISTENT_LOADED``` - the object has its properties and data loaded from DB;
23-
* ```JS_PERSISTENT_MODIFIED``` - the object is loaded from DB and is modidied by script - ready to be commited to DB.
23+
* ```JS_PERSISTENT_MODIFIED``` - the object is loaded from DB and is modified by script - ready to be commited to DB.
2424

2525
## Data life cycle – how persistent mechanism works
2626

0 commit comments

Comments
 (0)