internal override DateTime GetDateTime(SqliteStatement stmt, int index) { #if !SQLITE_STANDARD int len; return(ToDateTime(UnsafeNativeMethods.sqlite3_column_text_interop(stmt._sqlite_stmt, index, out len), len)); #else return(ToDateTime(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1)); #endif }
internal override string GetText(SqliteStatement stmt, int index) { #if !SQLITE_STANDARD int len; return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_text_interop(stmt._sqlite_stmt, index, out len), len)); #else return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1)); #endif }
internal override DateTime GetDateTime(SqliteStatement stmt, int index) { return(ToDateTime(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1)); }
internal override byte[] GetTextBytes(SqliteStatement stmt, int index) { return(GetStringBytes(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1)); }
internal override string GetText(SqliteStatement stmt, int index) { return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1)); }