public function getOperation()
    {
        switch ($this->operation['type']) {
            case self::QUERY_UPDATE :
                return AnDomain::OPERATION_UPDATE;
            case self::QUERY_DELETE :
                return AnDomain::OPERATION_DELETE;
            default :
                return AnDomain::OPERATION_FETCH;
        }
    }
public function getOperation()
    {
        switch ($this->operation['type']) {
            case self::QUERY_UPDATE :
                return AnDomain::OPERATION_UPDATE;
            case self::QUERY_DELETE :
                return AnDomain::OPERATION_DELETE;
            default :
                return AnDomain::OPERATION_FETCH;
        }
    }
public function getOperation ( ) { switch ( $ this -> operation [ 'type' ] ) { case self :: QUERY_UPDATE : return AnDomain :: OPERATION_UPDATE ; case self :: QUERY_DELETE : return AnDomain :: OPERATION_DELETE ; default : return AnDomain :: OPERATION_FETCH ; } }
Retun AnDomain operation based on the query operation.

@return int
Retun AnDomain operation based on the query operation .