SQLite – could not prepare statement (1 too many SQL variables)

During development for SQLite, I have got this error

Accroding to this article, this error is because of SQLite limitation, which cannot put variables more than 999 variables.

After I reduce the amount of variables, it worked very well.