Questions tagged [realm-js]

Realm is a mobile database: an alternative to SQLite & key-value stores

Links

  1. Github

  2. Site

  3. Documentation

55 questions
0
votes
2 answers

Realm Database Full Sync - How to implement a global comment system

I need to implement a shared global realm where users can write new records and delete their previous ones but not delete other users records. Example, a comment system. I made it via object permission using query based sync but I cannot understand…
DxW
  • 1,414
  • 3
  • 11
  • 23
0
votes
1 answer

Realm-js Querying on timeStamp does not work

This is with reference to https://realm.io/docs/javascript/latest/api/tutorial-query-language.html I am not looking for variable substitution syntax as mentioned in the documentation. So i have a date field by the name createDate, and i am trying to…
Amol Gupta
  • 2,054
  • 1
  • 14
  • 29
0
votes
0 answers

How to handle the changes happened in realm db table for synchronization?

I am using realm js for my react native app and the app has to be addressed to work offline and online, hence I need to have synchronization between the server database(Postgres/MySql/Oracle) and realm database. How should I log the changes(Update…
0
votes
1 answer

Realm object list functions are undefined, even though object is defined and list is populated

Trying to push a new int into an int realm list. I can get the Realm object, I can print it and when I print the object it shows the list with it's content, I can use Realm Studio to edit, add numbers to the list, etc.. But when I try to call any…
Igor Marcos
  • 13
  • 1
  • 3
0
votes
0 answers

Realm usage when a APP receives a background event and the iPhone is locked

So I'm developing an APP in react-native that receives a background event. And when the background event is received the APP crash and doesn't save Data on the realm library when the phone is locked. Is geolocation Based APP, so it needs to save…
0
votes
1 answer

Mobile Offline Sync

I'm currently working on a React Native application, the server is already implemented and my app should implement offline sync, I'm planning to integrate realm on the mobile device to deal with the offline data and pushing the data to the…
0
votes
1 answer

Realm js - How to hide previous user account data when logout

I'm facing an issue with realm.js. I add an object and give permission to that, and it seems to work well, but when I log out and then log in with another account I can see the previous data on device (even the ones for those I don't have…
DxW
  • 1,414
  • 3
  • 11
  • 23
0
votes
1 answer

How prevent Realm.js from creatig new users if they don't exist?

I'm starting to use Realm.js as the database for my android apps but I have a problem understanding why if I log with invalid credentials it doesn't give me an error but instead it creates a new user. I'd like to avoid this from happening and give…
DxW
  • 1,414
  • 3
  • 11
  • 23
0
votes
1 answer

Realm JS get records owned by a user with admin user

I am developing an app where I'm using Realm JS with fine graded permissions. I think this is a really huge feature, and it is way better than using separeted realms. I succesfully implemented record level permission, so I have one table with…
Apperside
  • 3,542
  • 2
  • 38
  • 65
0
votes
1 answer

How to push a schema object into the array property of another schema object?

Description I went through the realm-js documentation and was unable to find any examples explaining how to push an object into the array property of its parent. To be a little more clear, I have a Schema Test which has a property data: {type:…
kemicofa ghost
  • 16,349
  • 8
  • 82
  • 131
1 2 3
4