Return a pointer to the text value (NULL terminated string) of the column specified by its index starting at 0
| 75 | |
| 76 | // Return a pointer to the text value (NULL terminated string) of the column specified by its index starting at 0 |
| 77 | const 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 |
| 84 | const void* Column::getBlob() const noexcept |