Example #1
0
 public function getManyQuery(Table $table, $otherColumnName = null)
 {
     list($key, $thisKey) = $table->getReferenceKeyNames($this->getTable(), $otherColumnName);
     return $table->where([$key => $this->_data[$thisKey]]);
 }