Lines Matching refs:column

138 /// \param stmt The statement from which to get the column.
139 /// \param column The name of the column holding the value.
143 /// \throw integrity_error If the value in the specified column is invalid.
145 store::column_bool(sqlite::statement& stmt, const char* column)
147 const int id = stmt.column_id(column);
149 throw store::integrity_error(F("Boolean value in column %s is not a "
150 "string") % column);
163 /// \param stmt The statement from which to get the column.
164 /// \param column The name of the column holding the value.
168 /// \throw integrity_error If the value in the specified column is invalid.
170 store::column_delta(sqlite::statement& stmt, const char* column)
172 const int id = stmt.column_id(column);
174 throw store::integrity_error(F("Time delta in column %s is not an "
175 "integer") % column);
182 /// \param stmt The statement from which to get the column.
183 /// \param column The name of the column holding the value.
187 /// \throw integrity_error If the value in the specified column is invalid.
189 store::column_optional_string(sqlite::statement& stmt, const char* column)
191 const int id = stmt.column_id(column);
198 throw integrity_error(F("Invalid string type in column %s") % column);
205 /// \param stmt The statement from which to get the column.
206 /// \param column The name of the column holding the value.
210 /// \throw integrity_error If the value in the specified column is invalid.
212 store::column_test_result_type(sqlite::statement& stmt, const char* column)
214 const int id = stmt.column_id(column);
216 throw store::integrity_error(F("Result type in column %s is not a "
217 "string") % column);
237 /// \param stmt The statement from which to get the column.
238 /// \param column The name of the column holding the value.
242 /// \throw integrity_error If the value in the specified column is invalid.
244 store::column_timestamp(sqlite::statement& stmt, const char* column)
246 const int id = stmt.column_id(column);
248 throw store::integrity_error(F("Timestamp in column %s is not an "
249 "integer") % column);
252 throw store::integrity_error(F("Timestamp in column %s must be "
253 "positive") % column);