Searched refs:SqliteStatement (Results 1 – 8 of 8) sorted by relevance
44 class SqliteStatement; variable90 Status Prepare(const StringPiece& sql, SqliteStatement* stmt);91 SqliteStatement PrepareOrDie(const StringPiece& sql);119 friend class SqliteStatement; variable142 class SqliteStatement {145 SqliteStatement() noexcept = default;151 ~SqliteStatement() { in ~SqliteStatement()188 const SqliteStatement& StepOnceOrDie();323 SqliteStatement(SqliteStatement&& other) noexcept in SqliteStatement() function331 SqliteStatement& operator=(SqliteStatement&& other) noexcept {[all …]
92 SqliteStatement stmt; in SetPragma()163 Status Sqlite::Prepare(const StringPiece& sql, SqliteStatement* stmt) { in Prepare()169 *stmt = SqliteStatement(); in Prepare()173 *stmt = SqliteStatement(this, ps); in Prepare()177 Status SqliteStatement::Step(bool* is_done) { in Step()201 bool SqliteStatement::StepOrDie() { in StepOrDie()207 Status SqliteStatement::StepOnce() { in StepOnce()216 const SqliteStatement& SqliteStatement::StepOnceOrDie() { in StepOnceOrDie()221 Status SqliteStatement::StepAndReset() { in StepAndReset()231 void SqliteStatement::StepAndResetOrDie() { TF_CHECK_OK(StepAndReset()); } in StepAndResetOrDie()[all …]
193 SqliteStatement stmt; in TEST_F()201 SqliteStatement stmt{db_->PrepareOrDie("INSERT INTO T (a) VALUES (1)")}; in TEST_F()206 SqliteStatement stmt1 = db_->PrepareOrDie("INSERT INTO T (a) VALUES (1)"); in TEST_F()207 SqliteStatement stmt2; in TEST_F()216 SqliteStatement stmt; in TEST_F()250 SqliteStatement stmt = db->PrepareOrDie("SELECT ? + ?"); in TEST()
143 SqliteStatement insert_desc; in SetDescription()171 SqliteStatement stmt; in CreateNewId()258 SqliteStatement insert; in SaveNodeInputs()310 SqliteStatement insert; in SaveNodes()343 SqliteStatement insert; in SaveGraph()453 SqliteStatement insert; in GetTagId()471 SqliteStatement get; in InitializeUser()488 SqliteStatement insert; in InitializeUser()512 SqliteStatement get; in InitializeExperiment()534 SqliteStatement insert; in InitializeExperiment()[all …]
66 SqliteStatement stmt = db_->PrepareOrDie(sql); in QueryInt()77 SqliteStatement stmt = db_->PrepareOrDie(sql); in QueryDouble()88 SqliteStatement stmt = db_->PrepareOrDie(sql); in QueryString()
23 SqliteStatement stmt; in Run()
46 stmt_ = SqliteStatement(); in Close()72 stmt_ = SqliteStatement(); in PrepareQuery()
46 SqliteStatement stmt_;