FMDB vs WatermelonDB
FMDB
github.comWatermelonDB
watermelondb.devSide by side
| Figure | FMDB | WatermelonDB |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | Yes | — |
| iOS | Yes | Yes |
| Android | — | Yes |
| API | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Mobile Databases | 7.8 (#12) | 7.6 (#21) |
| Integrations | The project documents installation through CocoaPods, Carthage, and Swift Package Manager, and describes SQLCipher options. | The docs describe React and React Native usage, an optional RxJS API, and a JavaScript API for other UI frameworks. |
Plans
In their own words
WatermelonDB
WatermelonDB is a free, MIT-licensed reactive database framework for React and React Native applications. It is built for offline-first apps that synchronize local data with a remote database. Records load lazily, and queries run directly on SQLite on a separate native thread. The project describes a target scale from hundreds to tens of thousands of records. Record changes automatically re-render dependent UI components. Sync primitives and a built-in adapter work with backend endpoints that follow WatermelonDB’s protocol, but developers must provide that backend. Documented storage uses SQLite for React Native and Node.js, and LokiJS for web. Optional RxJS and JavaScript APIs support other UI frameworks. React Native Windows support is experimental, requires JSI and lacks Turbo Sync. The framework supports bidirectional synchronization and automatic conflict resolution, with documented sync edge cases.