You can pass additional open flags to SQLite by using a config object: It is possible to retain and reuse statments this will keep the query plan and in case of an complex query or many uses might ...