mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:36:09 +00:00
UI: SqliteStmt: Add columnUInt64()
This commit is contained in:
parent
4f4c5babb4
commit
18dcb03136
5
src/ui/3rdparty/sqlite/sqlitestmt.cpp
vendored
5
src/ui/3rdparty/sqlite/sqlitestmt.cpp
vendored
@ -288,6 +288,11 @@ qint64 SqliteStmt::columnInt64(int column) const
|
||||
return sqlite3_column_int64(m_stmt, column);
|
||||
}
|
||||
|
||||
quint64 SqliteStmt::columnUInt64(int column) const
|
||||
{
|
||||
return quint64(columnInt64(column));
|
||||
}
|
||||
|
||||
double SqliteStmt::columnDouble(int column) const
|
||||
{
|
||||
return sqlite3_column_double(m_stmt, column);
|
||||
|
1
src/ui/3rdparty/sqlite/sqlitestmt.h
vendored
1
src/ui/3rdparty/sqlite/sqlitestmt.h
vendored
@ -62,6 +62,7 @@ public:
|
||||
qint32 columnInt(int column = 0) const;
|
||||
quint32 columnUInt(int column = 0) const;
|
||||
qint64 columnInt64(int column = 0) const;
|
||||
quint64 columnUInt64(int column = 0) const;
|
||||
double columnDouble(int column = 0) const;
|
||||
bool columnBool(int column = 0) const;
|
||||
QString columnText(int column = 0) const;
|
||||
|
Loading…
Reference in New Issue
Block a user