diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2025-01-04 12:02:45 -0600 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2025-01-04 12:02:45 -0600 |
commit | 1d357adfa19725ee69fb267a363f1fd217b1272f (patch) | |
tree | 8d8710ba8ba7dff0b3da6b073fbb94f1a7b03ec5 /include/fud_sqlite.hpp | |
parent | 0b400af9519444deef4cc6ad2c43c30e2092ab4f (diff) |
Diffstat (limited to 'include/fud_sqlite.hpp')
-rw-r--r-- | include/fud_sqlite.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fud_sqlite.hpp b/include/fud_sqlite.hpp index b2d2f5b..7ab3ef8 100644 --- a/include/fud_sqlite.hpp +++ b/include/fud_sqlite.hpp @@ -48,6 +48,8 @@ class SqliteDb { public: static SqliteDbResult make(const String& name, SqliteOpenMode mode, int extraFlags = 0); + static SqliteDbResult make(StringView name, SqliteOpenMode mode, int extraFlags = 0); + static SqliteDbResult make(const char* cStrName, SqliteOpenMode mode, int extraFlags = 0); SqliteDb(const SqliteDb&) = delete; @@ -81,6 +83,8 @@ class SqliteDb { } private: + static SqliteDbResult finishMake(SqliteOpenMode& mode, int& extraFlags, SqliteDb&& sqlDb); + // private methods FudStatus initialize(); |