def for_update_sql(self, nowait=False):
        if nowait:
            return 'FOR UPDATE NOWAIT'
        else:
            return 'FOR UPDATE'
Retrieves an anomaly detector.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/db/backends/__init__.py/BaseDatabaseOperations.for_update_sql--crossover with--dataset/ETHPy150Open bigmlcom/python/bigml/anomalyhandler.py/AnomalyHandler.get_anomaly