Example #1
0
 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;
 }
Example #2
0
 public function __construct(Adapter $adapter, $table, Where $where)
 {
     parent::__construct($adapter, $table);
     $this->where = $where;
     $this->bound = $where->getBindings();
 }