def __init__(self, query):
        """
        Constructor

        :param query: The underlying query builder
        :type query: QueryBuilder
        """
        self._query = query

        self._model = None
        self._eager_load = {}
        self._macros = {}

        self._on_delete = None
def __init__ ( self , query ) : self . _query = query self . _model = None self . _eager_load = { } self . _macros = { } self . _on_delete = None
Constructor

        :param query: The underlying query builder
        :type query: QueryBuilder