( id: DatabaseIdentifier = databaseIdentifier.MAIN, )
| 13 | let restoredQueryExecutor: ?SQLiteQueryExecutorWrapper = null; |
| 14 | |
| 15 | function getSQLiteQueryExecutor( |
| 16 | id: DatabaseIdentifier = databaseIdentifier.MAIN, |
| 17 | ): ?SQLiteQueryExecutorWrapper { |
| 18 | if (id === databaseIdentifier.RESTORED) { |
| 19 | return restoredQueryExecutor; |
| 20 | } |
| 21 | return mainQueryExecutor; |
| 22 | } |
| 23 | |
| 24 | function setSQLiteQueryExecutor( |
| 25 | newSQLiteQueryExecutor: ?SQLiteQueryExecutorWrapper, |
no outgoing calls
no test coverage detected