select


Description:

public int select (string stmt, DBSelectCB callback) throws Error

Executes a SELECT staement and calls the callback for each selected row.

Parameters:

this

a DB

stmt

a SELECT statment to execute

callback

a callback to call for each row

user_data

user data for the callback

Returns:

0 on success, -1 on error