Created
January 4, 2017 12:43
-
-
Save devjin0617/bddff44cea98f983608ef1f1fd3556ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let UserSchema = { | |
name : 'User', | |
properties : { | |
name : 'string', | |
email : 'string', | |
tel : 'string', | |
date : 'date' | |
} | |
}; | |
var UserRealm = new Realm({ | |
path : 'user.realm', | |
schema : [UserSchema] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment