Xapian: API Documentation: Xapian::InMemory Namespace Reference

xapian-core 1.4.17

Functions
Xapian::InMemory Namespace Reference

Database factory functions for the inmemory backend. More...

## Functions
WritableDatabase | open ()
| Construct a WritableDatabase object for a new, empty InMemory database. More...

## Detailed Description

Database factory functions for the inmemory backend.

## Function Documentation

## ◆ open()

WritableDatabase Xapian::InMemory::open | ( |  | ) |
| inline

Construct a WritableDatabase object for a new, empty InMemory database.

Only a writable InMemory database can be created, since a read-only one would always remain empty.

References Xapian::DB_BACKEND_INMEMORY.