Home | History | Annotate | Download | only in sql

Lines Matching refs:col

229 String SQLiteStatement::getColumnName(int col)
231 ASSERT(col >= 0);
235 if (columnCount() <= col)
237 return String(reinterpret_cast<const UChar*>(sqlite3_column_name16(m_statement, col)));
240 SQLValue SQLiteStatement::getColumnValue(int col)
242 ASSERT(col >= 0);
246 if (columnCount() <= col)
251 sqlite3_value* value = sqlite3_column_value(m_statement, col);
268 String SQLiteStatement::getColumnText(int col)
270 ASSERT(col >= 0);
274 if (columnCount() <= col)
276 return String(reinterpret_cast<const UChar*>(sqlite3_column_text16(m_statement, col)));
279 double SQLiteStatement::getColumnDouble(int col)
281 ASSERT(col >= 0);
285 if (columnCount() <= col)
287 return sqlite3_column_double(m_statement, col);
290 int SQLiteStatement::getColumnInt(int col)
292 ASSERT(col >= 0);
296 if (columnCount() <= col)
298 return sqlite3_column_int(m_statement, col);
301 int64_t SQLiteStatement::getColumnInt64(int col)
303 ASSERT(col >= 0);
307 if (columnCount() <= col)
309 return sqlite3_column_int64(m_statement, col);
312 void SQLiteStatement::getColumnBlobAsVector(int col, Vector<char>& result)
314 ASSERT(col >= 0);
321 if (columnCount() <= col) {
326 const void* blob = sqlite3_column_blob(m_statement, col);
332 int size = sqlite3_column_bytes(m_statement, col);
338 const void* SQLiteStatement::getColumnBlob(int col, int& size)
340 ASSERT(col >= 0);
355 if (columnCount() <= col)
358 const void* blob = sqlite3_column_blob(m_statement, col);
362 size = sqlite3_column_bytes(m_statement, col);
366 bool SQLiteStatement::returnTextResults(int col, Vector<String>& v)
368 ASSERT(col >= 0);
378 v.append(getColumnText(col));
388 bool SQLiteStatement::returnIntResults(int col, Vector<int>& v)
398 v.append(getColumnInt(col));
408 bool SQLiteStatement::returnInt64Results(int col, Vector<int64_t>& v)
418 v.append(getColumnInt64(col));
428 bool SQLiteStatement::returnDoubleResults(int col, Vector<double>& v)
438 v.append(getColumnDouble(col));