Wiązanie parametru do zapytania jeśli określony
@param \Mmi\Orm\Query $q
@param string $name
@param mixed $value
486986
protected static function _bindParam(\Mmi\Orm\Query $q, $name, $value)
    {
        if ($value === true) {
            $q->andField($name)->notEquals(null);
            return;
        }
        $q->andField($name)->equals($value);
    }
1307945
public function setQuery($name, $value = null)
    {
        if (!is_array($name)) {
            $this->gets[$name] = $value;
        } else {
            $this->gets = $name + $this->gets;
        }
        return $this;
    }
669531
public function insert($module, $name, $value)
    {
        $query = sprintf('INSERT INTO `%s` (`module`, `name`, `value`) VALUES (:module, :name, :value)', $this->table);

        if ($this->serializer->isSerializeable($value)) {
            $value = $this->serializer->serialize($value);
        }

        $stmt = $this->pdo->prepare($query);
        return $stmt->execute(array(
            ':'.ConstProviderInterface::CONFIG_PARAM_MODULE => $module,
            ':'.ConstProviderInterface::CONFIG_PARAM_NAME => $name,
            ':'.ConstProviderInterface::CONFIG_PARAM_VALUE => $value
        ));
    }
1261084
public function addQueryParameter($name, $value)
    {
        Validate::isString($name, 'name');
        Validate::isString($value, 'value');

        $this->_queryParams[$name] = $value;
    }
1324028
public function setQueryParameter($name, $value)
    {
        $this->query_array[$name] = $value;
        $this->query = http_build_query($this->query_array);
        return $this;
    }
1343369
public function setField($name, $key, $value)
    {
        if (!array_key_exists($name, $this->fields)) {
            $this->fields[$name] = [];
        }
        $this->fields[$name][$key] = $value;
    }
343067
public function addField(string $name, $value)
    {
        $schema = $this->constant('SCHEMA')->getValue();
        $schema[$name] = $value;
        $this->constant('SCHEMA')->setValue($schema);
    }
1343390
public function add($name, $value = null)
    {
        if (empty($name)) {
            return $this;
        }

        $params = (!is_array($name) ? array($name => $value) : $name);

        $query = $this->query(true);

        foreach ($params as $key => $val) {
            if (empty($val)) {
                unset($query[$key]);
            } elseif (!empty($val)) {
                $query[$key] = $val;
            }
        }

        $query              = http_build_query($query);
        $this->url['query'] = $query;

        return $this;
    }
1002950
public function setParameter($name, $value)
    {
        $name = (string)$name;
        $value = (string)$value;
        $this->_params[$name] = $value;
        return $this;
    }
32588
public function setRawColumnValue(string $name, $value): void
	{
		$this->columns[$name] = $this->cast($name, $value);
	}
1271243
public function setParam($name, $value): void
    {
        if (\is_array($this->params)) {
            // Arrays or objects implementing array access
            $this->params[$name] = $value;
        } else {
            // Objects
            $this->params->{$name} = $value;
        }
    }
471412
public function apply($name, $value, $query, FilterInterface $filter)
    {
        $column = $this->translationTable . '.'
                . ( ! empty($this->column) ? $this->column : $name);

        $operator = '=';

        if ( ! $this->exact) {
            $operator = 'LIKE';
            $value    = '%' . $value . '%';
        }

        $query->where($this->translationTable . '.locale', $this->locale)
              ->where($column, $operator, $value);


        // add a join for the translations
        $filter->addJoin(
            JoinKey::TRANSLATIONS,
            [
                $this->translationTable,
                $this->translationTable . '.' . str_singular($this->table) . '_id',
                '=',
                $this->table . '.id'
            ]
        );

        return $query;
    }
890060
@Override
    public Query setParameter(String name, Object value)
    {
        kunderaQuery.setParameter(name, value);
        return this;
    }
159603
public function addQuery($name, $value)
    {
        $this->query = array_merge_recursive($this->query, [$name => $value]);
    }
100774
public function setParam($name, $value)
	{
		if (null === $this->params)
		{
			$this->params = $this->loadParams();
		}

		$this->params->set($name, $value);

		return $this;
	}
210978
private function addWhereOptionalField(QueryBuilder $qb, $field, $value): void
    {
        if (null === $value) {
            $qb->andWhere('p.'.$field.' IS NULL');
        } else {
            $qb->andWhere('p.'.$field.' = :'.$field)->setParameter($field, $value);
        }
    }
621605
public T query(String name, Object value) {
        this.query(name, value, true);
        return returnThis();
    }