class SQLite3::Statement

def execute!( *bind_vars, &block )

Experimental RBS support (using type sampling data from the type_fusion project).

def execute!: (*Array[String] bind_vars, ) -> Array[Array, String, String]

This signature was generated using 38 samples from 2 applications.

See also #bind_params, #execute.

end
...
stmt.execute! do |row|
stmt = db.prepare( "select * from table" )

Example:

Any parameters will be bound to the statement using #bind_params.

yielded to the block.
rows returned by executing the statement. Otherwise, each row will be
Execute the statement. If no block was given, this returns an array of
def execute!( *bind_vars, &block )
  execute(*bind_vars)
  block_given? ? each(&block) : to_a
end