|
@@ 312-322 (lines=11) @@
|
| 309 |
|
* |
| 310 |
|
* @return IQueryBuilder |
| 311 |
|
*/ |
| 312 |
|
protected function getLinksSelectSql() { |
| 313 |
|
$qb = $this->dbConnection->getQueryBuilder(); |
| 314 |
|
|
| 315 |
|
/** @noinspection PhpMethodParametersCountMismatchInspection */ |
| 316 |
|
$qb->select('id', 'status', 'address', 'token', 'circle_id', 'unique_id', 'creation') |
| 317 |
|
->from(self::TABLE_LINKS, 's'); |
| 318 |
|
|
| 319 |
|
$this->default_select_alias = 's'; |
| 320 |
|
|
| 321 |
|
return $qb; |
| 322 |
|
} |
| 323 |
|
|
| 324 |
|
|
| 325 |
|
/** |
|
@@ 330-343 (lines=14) @@
|
| 327 |
|
* |
| 328 |
|
* @return IQueryBuilder |
| 329 |
|
*/ |
| 330 |
|
protected function getSharesSelectSql() { |
| 331 |
|
$qb = $this->dbConnection->getQueryBuilder(); |
| 332 |
|
|
| 333 |
|
/** @noinspection PhpMethodParametersCountMismatchInspection */ |
| 334 |
|
$qb->select( |
| 335 |
|
'circle_id', 'source', 'type', 'author', 'cloud_id', 'payload', 'creation', 'headers', |
| 336 |
|
'unique_id' |
| 337 |
|
) |
| 338 |
|
->from(self::TABLE_SHARES, 's'); |
| 339 |
|
|
| 340 |
|
$this->default_select_alias = 's'; |
| 341 |
|
|
| 342 |
|
return $qb; |
| 343 |
|
} |
| 344 |
|
|
| 345 |
|
/** |
| 346 |
|
* Base of the Sql Insert request for Shares |