ae.sys.database

Higher-level wrapper around ae.sys.sqlite3.

Members

Classes

SQLiteException (from ae.sys.sqlite3)
class SQLiteException via public import ae.sys.sqlite3 : SQLiteException;

Exception class thrown on SQLite errors.

Functions

selectValue
T selectValue(Iter iter)

Return the first value of the given iterator. Can be used to select the only value of an SQL query (such as "SELECT COUNT(*) FROM ...").

Structs

Database
struct Database

A higher-level wrapper around SQLite, providing automatic initialization, cached prepared statements, and schema migrations.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>