Home | History | Annotate | Download | only in history

Lines Matching full:statement

11 #include "app/sql/statement.h"
51 // create statement. These are the 0-based indices (as strings) of the
214 sql::Statement add_to_pages(db_.GetCachedStatement(SQL_FROM_HERE,
231 sql::Statement add_to_info(db_.GetCachedStatement(SQL_FROM_HERE,
251 sql::Statement select_ids(db_.GetCachedStatement(SQL_FROM_HERE,
264 sql::Statement delete_page(db_.GetCachedStatement(SQL_FROM_HERE,
279 sql::Statement delete_info(db_.GetCachedStatement(SQL_FROM_HERE,
295 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
297 if (!statement)
299 statement.Run();
309 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE,
315 if (!statement)
327 statement.BindString(0, query);
328 statement.BindInt64(1, effective_begin_time);
329 statement.BindInt64(2, effective_end_time);
330 statement.BindInt(3, effective_max_count);
332 while (statement.Step()) {
337 GURL url(statement.ColumnString(0));
347 match.title = statement.ColumnString16(1);
348 match.time = base::Time::FromInternalValue(statement.ColumnInt64(2));
351 std::string offsets_str = statement.ColumnString(3);
354 Snippet::ConvertMatchPositionsToWide(statement.ColumnString(1),
363 std::string body = statement.ColumnString(4);
380 statement.Reset();