Represents persistent storage.
( file-name [, autocommit] ) returns: storage | null
Static method. Opens the storage, which name is stored in the file-name string and returns an instance of Storage object.
autocommit indicates if storage commits all associated objects into storage automatically. Default value is true.
Closes underlying Storage object. Commits all data if autocommit is set to true.
()
Commits all related objects into storage.
Creates an index of type 'type' and returns Index object. Index could have unique or duplicated keys depending on unique argument. Default value for unique is true. Supported types: #integer, #float, #date, #string.