2023-08-21 06:07:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\Memories\Db;
|
|
|
|
|
|
|
|
use OCP\DB\QueryBuilder\IQueryBuilder;
|
|
|
|
|
|
|
|
trait TimelineQueryNativeX
|
|
|
|
{
|
2023-10-14 08:25:50 +00:00
|
|
|
public function transformNativeQuery(IQueryBuilder &$query, bool $aggregate): void
|
2023-08-21 06:07:07 +00:00
|
|
|
{
|
|
|
|
if (!$aggregate) {
|
2023-10-04 22:09:43 +00:00
|
|
|
$query->addSelect('m.epoch', 'f.size', 'm.buid');
|
2023-08-21 06:07:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|