diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2023-11-22 10:13:31 -0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 10:13:31 -0100 |
commit | 8877f9bec9f886ad5c62127485e19b7006d86e9b (patch) | |
tree | a0fd7e35efb3d61de69f4ecfc7bb001b8f588ae9 /lib | |
parent | bc1da2fa54d842be18b4faddf40fb64cc61d2811 (diff) | |
parent | e37ab38780f7884829ce20a82f16c0fb8e951329 (diff) | |
download | nextcloud-server-8877f9bec9f886ad5c62127485e19b7006d86e9b.tar.gz nextcloud-server-8877f9bec9f886ad5c62127485e19b7006d86e9b.zip |
Merge pull request #41653 from nextcloud/enh/noid/sync-token-on-retrievemetadata
get sync_token on retrieveMetadata()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/FilesMetadata/MetadataQuery.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/FilesMetadata/MetadataQuery.php b/lib/private/FilesMetadata/MetadataQuery.php index 9c3e63e5e22..aa079c678d7 100644 --- a/lib/private/FilesMetadata/MetadataQuery.php +++ b/lib/private/FilesMetadata/MetadataQuery.php @@ -58,6 +58,7 @@ class MetadataQuery implements IMetadataQuery { */ public function retrieveMetadata(): void { $this->queryBuilder->selectAlias($this->alias . '.json', 'meta_json'); + $this->queryBuilder->selectAlias($this->alias . '.sync_token', 'meta_sync_token'); $this->queryBuilder->leftJoin( $this->fileTableAlias, MetadataRequestService::TABLE_METADATA, $this->alias, $this->queryBuilder->expr()->eq($this->fileTableAlias . '.' . $this->fileIdField, $this->alias . '.file_id') |