Method: SQLite3::Statement#step

Defined in:
lib/motion-sqlite3/statement.rb

#stepObject



26
27
28
29
30
31
# File 'lib/motion-sqlite3/statement.rb', line 26

def step
  @result = sqlite3_step(@handle.value_with_autorelease)
  unless @result == SQLITE_DONE || @result == SQLITE_ROW
    raise SQLite3Error, sqlite3_errmsg(@db.value_with_autorelease)
  end
end