VocabularygdbmClass descriptionInstance of this class is used as database configuration object. It has following slots:
| name | The file name of the database. |
| block-size | The size of a single transfer from disk to memory. If the value is less than 512, the file system blocksize is used (this is default). |
| role | Determines what kind of access the user wants to obtain (see below). |
| sync | Being set to t causes all database operations to be synchronized to the disk. |
| nolock | Being set to t prevents gdbm from performing any locking on the database file. |
| mode | An integer representing standard UNIX access permissions. |
The
role can be set to one of the folowing values:
| reader | The user can only read from existing database. |
| writer | The user can access existing database as reader and writer. |
| wrcreat | Open the database for reading and writing if it exists and create new one otherwise. |
| newdb | Create empty database even if there is already one with the same name. |
Definition