Implemented as part of [ENG-10603](https://linear.app/comm/issue/ENG-10603/biggest-risk-factor-out-code-from-databasequeryexecutor)
This is database management. It is also native-specific, so factoring this out makes the shared `SQLiteQueryExecutor` cleaner.
Get rid of `ifndef` in `DatabaseQueryExecutor`
Depends on D14727