|
|
|
@ -14,6 +14,8 @@ public interface ILiteDbContext : IDisposable
|
|
|
|
|
ILiteCollectionAsync<CivitModelVersion> CivitModelVersions { get; } |
|
|
|
|
ILiteCollectionAsync<CivitModelQueryCacheEntry> CivitModelQueryCache { get; } |
|
|
|
|
|
|
|
|
|
void Initialize(string connectionString); |
|
|
|
|
|
|
|
|
|
Task<(CivitModel?, CivitModelVersion?)> FindCivitModelFromFileHashAsync(string hashBlake3); |
|
|
|
|
Task<bool> UpsertCivitModelAsync(CivitModel civitModel); |
|
|
|
|
Task<bool> UpsertCivitModelAsync(IEnumerable<CivitModel> civitModels); |
|
|
|
|