Lines Matching full:column

111     /// Cache for the column names in a statement; lazily initialized.
216 /// Returns the name of a particular column in the result.
218 /// \param index The column to request the name of.
220 /// \return The name of the requested column.
231 /// Returns the type of a particular column in the result.
233 /// \param index The column to request the type of.
235 /// \return The type of the requested column.
243 /// Finds a column by name.
245 /// \param name The name of the column to search for.
247 /// \return The column identifier.
271 /// Returns a particular column in the result as a blob.
273 /// \param index The column to retrieve.
287 /// Returns a particular column in the result as a double.
289 /// \param index The column to retrieve.
300 /// Returns a particular column in the result as an integer.
302 /// \param index The column to retrieve.
315 /// Returns a particular column in the result as a 64-bit integer.
317 /// \param index The column to retrieve.
328 /// Returns a particular column in the result as a double.
330 /// \param index The column to retrieve.
345 /// Returns the number of bytes stored in the column.
349 /// \param index The column to retrieve the size of.
351 /// \return The number of bytes in the column. Remember that strings are stored
364 /// \param name The name of the column to retrieve.
373 const int column = column_id(name); in safe_column_blob() local
374 if (column_type(column) != sqlite::type_blob) in safe_column_blob()
376 F("Column '%s' is not a blob") % name); in safe_column_blob()
377 return column_blob(column); in safe_column_blob()
383 /// \param name The name of the column to retrieve.
392 const int column = column_id(name); in safe_column_double() local
393 if (column_type(column) != sqlite::type_float) in safe_column_double()
395 F("Column '%s' is not a float") % name); in safe_column_double()
396 return column_double(column); in safe_column_double()
402 /// \param name The name of the column to retrieve.
411 const int column = column_id(name); in safe_column_int() local
412 if (column_type(column) != sqlite::type_integer) in safe_column_int()
414 F("Column '%s' is not an integer") % name); in safe_column_int()
415 return column_int(column); in safe_column_int()
421 /// \param name The name of the column to retrieve.
430 const int column = column_id(name); in safe_column_int64() local
431 if (column_type(column) != sqlite::type_integer) in safe_column_int64()
433 F("Column '%s' is not an integer") % name); in safe_column_int64()
434 return column_int64(column); in safe_column_int64()
440 /// \param name The name of the column to retrieve.
449 const int column = column_id(name); in safe_column_text() local
450 if (column_type(column) != sqlite::type_text) in safe_column_text()
452 F("Column '%s' is not a string") % name); in safe_column_text()
453 return column_text(column); in safe_column_text()
459 /// \param name The name of the column to retrieve the size of.
468 const int column = column_id(name); in safe_column_bytes() local
469 if (column_type(column) != sqlite::type_blob && in safe_column_bytes()
470 column_type(column) != sqlite::type_text) in safe_column_bytes()
472 F("Column '%s' is not a blob or a string") % name); in safe_column_bytes()
473 return column_bytes(column); in safe_column_bytes()