magiccodingman / Magic.IndexedDb

Use IndexedDb in Blazor like LINQ!
MIT License
25 stars 7 forks source link

Search is Entire DB loaded? #7

Closed vincejairam closed 5 months ago

vincejairam commented 5 months ago

Is the entire DB loaded into .NET memory to search? Steve Sanderson indicated this when he was using the Reshiru.Blazor.IndexedDB package, which these packages are leveraging.

https://blog.stevensanderson.com/2019/08/03/blazor-indexeddb/

magiccodingman commented 5 months ago

@vincejairam I don't believe so, but let me get back to you on this shortly. I don't think it is, but I never considered it would be in the first place. Because this is just interacting with the default Indexed DD API that's available so it should in theory just be working by default standards of Indexed DB :)

magiccodingman commented 5 months ago

@vincejairam I am utilizing Dexie.js which is a helpful wrapper around IndexedDb, but it's still utilizing the base IndexedDB API. Therefore, it's 100% using disk. My code is only building a nice way to utilize IndexedDb in C# within the Blazor framework. It does not by itself change where the data is stored.

magiccodingman commented 5 months ago

Closing because this should be answered :)

vincejairam commented 5 months ago

Thanks @magiccodingman for looking into this further...