Return result for database methods