def new_pivot_statement_for_id(self, id):
        return self._new_pivot_query().where(self._other_key, id)
Returns a string of the query last executed by the given cursor, with
dataset/ETHPy150Open sdispater/orator/orator/orm/relations/belongs_to_many.py/BelongsToMany.new_pivot_statement_for_id--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/backends/__init__.py/BaseDatabaseOperations.last_executed_query