mirror of
https://github.com/goharbor/harbor.git
synced 2024-06-27 23:35:10 +02:00
QuerySeter.Delete will call two queies in the orm of beego. First it will query all primary keys of the model by the QuerySeter, and then the orm will delete the models using the IN statement of these primary keys. This will be failed in the postgres when the records more than 65535. This commit changes to use the raw query to delete the robots of the project. Closes #14678 Signed-off-by: He Weiwei <hweiwei@vmware.com> |
||
---|---|---|
.. | ||
chartserver | ||
cmd | ||
common | ||
controller | ||
core | ||
jobservice | ||
lib | ||
migration | ||
pkg | ||
portal | ||
registryctl | ||
server | ||
testing | ||
vendor | ||
favicon.ico | ||
go.mod | ||
go.sum |