MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getText

Method getText

Source/3rdParty/sqlite/SQLiteCpp/Column.cpp:77–81  ·  view source on GitHub ↗

Return a pointer to the text value (NULL terminated string) of the column specified by its index starting at 0

Source from the content-addressed store, hash-verified

75
76// Return a pointer to the text value (NULL terminated string) of the column specified by its index starting at 0
77const char* Column::getText(const char* apDefaultValue /* = "" */) const noexcept
78{
79 auto pText = reinterpret_cast<const char*>(sqlite3_column_text(mStmtPtr.get(), mIndex));
80 return (pText ? pText : apDefaultValue);
81}
82
83// Return a pointer to the blob value (*not* NULL terminated) of the column specified by its index starting at 0
84const void* Column::getBlob() const noexcept

Callers 4

getDataFromTextFieldMethod · 0.45
SavepointMethod · 0.45
Column.cppFile · 0.45

Calls 1

getMethod · 0.65

Tested by 2

getDataFromTextFieldMethod · 0.36