mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix Executing a query: SQLSTATE[42000]
Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Fix https://github.com/nextcloud/server/issues/32007#issuecomment-1329405245 Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
This commit is contained in:
parent
5936991827
commit
5200b0e5f2
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ class Storage {
|
|||
|
||||
$query = $db->getQueryBuilder();
|
||||
$query->delete('storages')
|
||||
->where($query->expr()->eq('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
|
||||
->where($query->expr()->in('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
|
||||
$query->executeStatement();
|
||||
|
||||
$query = $db->getQueryBuilder();
|
||||
|
|
|
|||
Loading…
Reference in a new issue