There are two resource types used in the dbx module. The first one is the link- object for a database connection, the second a result- object which holds the result of a query.