diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,8 +19,8 @@ create a new environment handle and open the database at the `path`. returns the ### `lmdb.version()` returns the LMDB version as `major, minor, patch`. -### `env:txn_begin(rdonly)` -create a new transaction in the environment. if `rdonly` is true, then the transaction is not to be used to perform write operations. returns the transaction handle (`txn`) on success. +### `env:txn_begin(write_enabled)` +create a new transaction in the environment. if `write_enabled` is true, then the transaction may make modifications to the database. returns the transaction handle (`txn`) on success. ### `env:copy(path)` copy the environment to the specified `path`. return `true` on success. @@ -45,5 +45,5 @@ abandon all operations performed in the transaction. ### `txn:commit()` commit all operations of the transaction into the database. -### `txn:txn_begin(rdonly)` +### `txn:txn_begin()` create a nested transaction in the parent transaction. |
