Silver Sqlite

Is there a sqlite library I can use to work with Silver on android and ios?

I believe Carlo is looking into adding an SQLite abstraction layer into Sugar, as we speak. Until then, you can of course use SQLite directly via it’s Cocoa and Java APIs b y simply referencing the library — it’s just that the APIs won’t (yet) be exactly the same, across the two platforms.

—marc

Would it possible to reuse http://developer.xamarin.com/guides/cross-platform/application_fundamentals/data/part_3_using_sqlite_orm/

I am not sure how much work would be involved in doing making this work with Elements.

SQLite.NET is the .NET API for SQLite. You can use that as is from Silver, on .NET, but not form Java born Cocoa. Just as oy can use the Java APIs, and libsqlite3.a from Java ands Cocoa, already. What we need in Sugar (and i believe Carlo implemented a large chunk of that last week, so stay tuned to see that becoming available) is an abstraction that uses all three of these in the background, on the respective platforms, but exposes it with a unified API on all.

—marc

Hi Carlo,

Is there anything checked in the sugar repository yet?

Carlo is working on this today, expect something soon.