SyncMetaDao.swift
10 lignes · 287 octets
import Foundation /// Port of the Room `SyncMetaDao`. protocol SyncMetaDao { /// INSERT OR REPLACE INTO sync_meta. func upsert(_ entity: SyncMetaEntity) async throws /// SELECT * FROM sync_meta WHERE key = :key func get(_ key: String) async throws -> SyncMetaEntity? }
GitRust