public function __construct(Adapter $adapter, $table, array $fields, Where $where, Options $options) { parent::__construct($adapter, $table); $this->fields = $fields; $this->bound = array_merge($this->bound, $where->getBindings(), $options->getBindings()); $this->where = $where; $this->options = $options; }
public function __construct(Adapter $adapter, $table, Where $where) { parent::__construct($adapter, $table); $this->where = $where; $this->bound = $where->getBindings(); }