# Method Sql.pgsql_util.sql_result()->set_result_callback()

Method set_result_callback

  `final void set_result_callback(function(sql_result, array(mixed), mixed ... :void) callback, mixed ... args)`

Description

  Sets up a callback for every row returned from the database. First argument passed is the resultobject itself, second argument is the result row (zero on EOF).

See also

  fetch_row()