mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-03 10:13:42 +00:00
Thomas Goyne
b7b2822082
Make it possible to disable the commit notifier background worker
This makes it much easier to write tests which test the work done on the background thread.
Realm Object Store
Cross-platform code used accross bindings. Binding developers can choose to use some or all the included functionality:
object_store
/schema
/object_schema
/property
- contains the structures and logic used to setup and modify realm files and their schema.shared_realm
- wraps the object_store apis to provide transactions, notifications, realm caching, migrations, and other higher level functionality.object_accessor
/results
/list
- accessor classes, object creation/update pipeline, and helpers for creating platform specific property getters and setters.parser
/query_builder
- cross platform query parser and query builder - requires and object_accessor specialization for argument support. Depends on https://github.com/ColinH/PEGTL
Building
The object store's build system currently only suports building for OS X. The object store itself can build for all Apple platforms when integrated into a binding.
-
Install CMake. You can download an installer for OS X from the [CMake download page], or install via Homebrew:
brew install cmake
-
Generate build files:
cmake .
-
Build:
make
Testing
make run-tests
Description
Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Languages
JavaScript
45.9%
C++
38.4%
Objective-C
3.9%
Shell
3.3%
Objective-C++
3.2%
Other
5.3%