ae.sys.database

Higher-level wrapper around ae.sys.sqlite3.

Public Imports

ae.sys.sqlite3
public import ae.sys.sqlite3 : SQLiteException;

Members

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>