Datastore/src/Query/GqlQuery.php
private function determineBindingType(array $options)
    {
        if (isset($options['bindings']) && !$this->isAssoc($options['bindings'])) {
            return self::BINDING_POSITIONAL;
        }

        return self::BINDING_NAMED;
    }
private function determineBindingType(array $options)
    {
        if (isset($options['bindings']) && !$this->isAssoc($options['bindings'])) {
            return self::BINDING_POSITIONAL;
        }

        return self::BINDING_NAMED;
    }
private function determineBindingType ( array $ options ) { if ( isset ( $ options [ 'bindings' ] ) && ! $ this -> isAssoc ( $ options [ 'bindings' ] ) ) { return self :: BINDING_POSITIONAL ; } return self :: BINDING_NAMED ; }
Determine whether the query should use named or positional bindings.

@param array $options
@return string
Determine whether the query should use named or positional bindings .