src/cli/Database/Base/ChannelQuery.php 1 location
|
@@ 221-233 (lines=13) @@
|
| 218 |
|
* |
| 219 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 220 |
|
*/ |
| 221 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 222 |
|
{ |
| 223 |
|
if (null === $con) { |
| 224 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 225 |
|
} |
| 226 |
|
$this->basePreSelect($con); |
| 227 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 228 |
|
$dataFetcher = $criteria |
| 229 |
|
->filterByPrimaryKeys($keys) |
| 230 |
|
->doSelect($con); |
| 231 |
|
|
| 232 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 233 |
|
} |
| 234 |
|
|
| 235 |
|
/** |
| 236 |
|
* Filter the query by primary key |
src/cli/Database/Base/ConnectionQuery.php 1 location
|
@@ 236-248 (lines=13) @@
|
| 233 |
|
* |
| 234 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 235 |
|
*/ |
| 236 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 237 |
|
{ |
| 238 |
|
if (null === $con) { |
| 239 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 240 |
|
} |
| 241 |
|
$this->basePreSelect($con); |
| 242 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 243 |
|
$dataFetcher = $criteria |
| 244 |
|
->filterByPrimaryKeys($keys) |
| 245 |
|
->doSelect($con); |
| 246 |
|
|
| 247 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
/** |
| 251 |
|
* Filter the query by primary key |
src/cli/Database/Base/UserQuery.php 1 location
|
@@ 231-243 (lines=13) @@
|
| 228 |
|
* |
| 229 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 230 |
|
*/ |
| 231 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 232 |
|
{ |
| 233 |
|
if (null === $con) { |
| 234 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 235 |
|
} |
| 236 |
|
$this->basePreSelect($con); |
| 237 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 238 |
|
$dataFetcher = $criteria |
| 239 |
|
->filterByPrimaryKeys($keys) |
| 240 |
|
->doSelect($con); |
| 241 |
|
|
| 242 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 243 |
|
} |
| 244 |
|
|
| 245 |
|
/** |
| 246 |
|
* Filter the query by primary key |
src/cli/Database/Base/InputQuery.php 1 location
|
@@ 241-253 (lines=13) @@
|
| 238 |
|
* |
| 239 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 240 |
|
*/ |
| 241 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 242 |
|
{ |
| 243 |
|
if (null === $con) { |
| 244 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 245 |
|
} |
| 246 |
|
$this->basePreSelect($con); |
| 247 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 248 |
|
$dataFetcher = $criteria |
| 249 |
|
->filterByPrimaryKeys($keys) |
| 250 |
|
->doSelect($con); |
| 251 |
|
|
| 252 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 253 |
|
} |
| 254 |
|
|
| 255 |
|
/** |
| 256 |
|
* Filter the query by primary key |
src/cli/Database/Base/InstanceQuery.php 1 location
|
@@ 241-253 (lines=13) @@
|
| 238 |
|
* |
| 239 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 240 |
|
*/ |
| 241 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 242 |
|
{ |
| 243 |
|
if (null === $con) { |
| 244 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 245 |
|
} |
| 246 |
|
$this->basePreSelect($con); |
| 247 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 248 |
|
$dataFetcher = $criteria |
| 249 |
|
->filterByPrimaryKeys($keys) |
| 250 |
|
->doSelect($con); |
| 251 |
|
|
| 252 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 253 |
|
} |
| 254 |
|
|
| 255 |
|
/** |
| 256 |
|
* Filter the query by primary key |
src/cli/Database/Base/SubscriptionQuery.php 1 location
|
@@ 276-288 (lines=13) @@
|
| 273 |
|
* |
| 274 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 275 |
|
*/ |
| 276 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 277 |
|
{ |
| 278 |
|
if (null === $con) { |
| 279 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 280 |
|
} |
| 281 |
|
$this->basePreSelect($con); |
| 282 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 283 |
|
$dataFetcher = $criteria |
| 284 |
|
->filterByPrimaryKeys($keys) |
| 285 |
|
->doSelect($con); |
| 286 |
|
|
| 287 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 288 |
|
} |
| 289 |
|
|
| 290 |
|
/** |
| 291 |
|
* Filter the query by primary key |