2023-08-21 06:07:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\Memories\Db;
|
|
|
|
|
|
|
|
use OCP\DB\QueryBuilder\IQueryBuilder;
|
|
|
|
|
|
|
|
trait TimelineQueryNativeX
|
|
|
|
{
|
|
|
|
public function transformNativeQuery(IQueryBuilder &$query, bool $aggregate)
|
|
|
|
{
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|