get_cursor¶
-
BaseQueryBuilder.get_cursor(cursor_name=None, cursor_class=None, *args, **kwargs)[source]¶ Create and return a new database cursor object.
It’s recommended to override this method if you’re inheriting from this class, as this Generic version of
get_cursordoes not make use ofcursor_namenorcursor_class.- Parameters
- Return GenericCursor cursor
A cursor object which should implement at least the basic Python DB API Cursor functionality as specified in
GenericCursor((PEP 249)