Skip to content

internal::pragma_t

Yevgeniy Zakharov edited this page Nov 18, 2021 · 2 revisions
namespace sqlite_orm {
    namespace internal {
        struct pragma_t;
    }
}

Helper class used for accessing to PRAGMA fields inside SQLite database. You don't have to create instances of pragma_t by yourself. You get pragma field from storage instead:

auto storage = make_storage(...);
storage.pragma.busy_timeout(500);

Member functions

Clone this wiki locally