maxSqlParameters property

int maxSqlParameters
getter/setter pair

To optimize inserting a lot of data when the subscription data comes, we need to do less INSERT queries, but SQLite/Postgres support only a limited amount of ?/$i positional arguments. Precisely, its either 999 for SQLite versions prior to 3.32.0 and 32766 for versions after, and 65535 for Postgres.

Implementation

int maxSqlParameters = 999;