How to map multiple realm path to one mssql

ros

#1

I am facing an issue to map multiple realm path to one mssql.
At the first time, I tried realmRegex: ‘.*’ to map all realm path. It looks like nothing is synced from realm to mssql, then I changed realmRegex to a single realm path name realmRegex: ‘/realmpath1’. It still had nothing synced. May I ask is there any other things I can try on config?


#2

or should I try to reload? The first time I tried to load data, I put a wrong realmRegex which doesn’t match any realm path.


#3

Yes you should reload when changing the realm path. Can you try using a string instead of javascript’s Regex class? The string here will be interpreted by C++ std::regex and not the js Regex class.

Rules: https://en.cppreference.com/w/cpp/regex/ecmascript

“.*” should work