As a SQLite user, I want PhotoPrism not to throw a "too many SQL variables" error when optimizing the index during or after indexing.
This probably happens somewhere in the entity or query package when Db().Where("id IN (?)", photos) is expanded as part of a SQL query and photos is a slice with more than 999 values.
Related Discussion:
As a SQLite user, I want PhotoPrism not to throw a "too many SQL variables" error when optimizing the index during or after indexing.
This probably happens somewhere in the entity or query package when
Db().Where("id IN (?)", photos)is expanded as part of a SQL query andphotosis a slice with more than 999 values.Related Discussion: