AxerDataProvider

Functions

Link copied to clipboard
abstract suspend fun clearTable(file: String, tableName: String): Result<String>
Link copied to clipboard
abstract suspend fun deleteAllExceptions(): Result<Unit>
Link copied to clipboard
abstract suspend fun deleteAllLogs(): Result<Unit>
Link copied to clipboard
abstract suspend fun deleteAllRequests(): Result<Unit>
Link copied to clipboard
abstract suspend fun deleteRow(file: String, tableName: String, row: RowItem): Result<Unit>
Link copied to clipboard
abstract suspend fun executeRawQuery(file: String, query: String): Result<Unit>
Link copied to clipboard
abstract fun executeRawQueryAndGetUpdates(file: String, query: String): Flow<QueryResponse>
Link copied to clipboard
Link copied to clipboard
abstract fun getAllLogs(): Flow<DataState<List<LogLine>>>
Link copied to clipboard
abstract fun getAllQueries(): Flow<DataState<String>>
Link copied to clipboard
Link copied to clipboard
abstract fun getDatabaseContent(file: String, tableName: String, page: Int = 0, pageSize: Int = TableDetailsViewModel.PAGE_SIZE): Flow<DataState<DatabaseData>>
Link copied to clipboard
abstract fun getDatabases(): Flow<DataState<List<DatabaseWrapped>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getRequestById(id: Long): Flow<DataState<TransactionFull?>>
Link copied to clipboard
Link copied to clipboard
abstract fun isConnected(): Flow<Boolean>
Link copied to clipboard
abstract suspend fun markAsViewed(id: Long): Result<Unit>
Link copied to clipboard
abstract suspend fun updateCell(file: String, tableName: String, editableItem: EditableRowItem): Result<Unit>