There are two pools of data for each plugin: PluginSpace and ProfileSpace
If refid is a string, query will match a specific profile data in ProfileSpace.
If refid is null, query will match all profile data in ProfileSpace.
(doesn't apply to DB.Insert)
If refid is not provided, query will match data in PluginSpace.
NOTE: since WebUI can delete data in ProfileSpace,
you should refrain from referencing refid in your document to prevent getting unclearable garbage data.
If you need to make rival/friend feature, we recommend you to get all profile data by passing null to refid.
There will be 16 profiles maximum which is small enough to manage.
Database operation.
There are two pools of data for each plugin: PluginSpace and ProfileSpace
If
refidis a string, query will match a specific profile data in ProfileSpace.If
refidis null, query will match all profile data in ProfileSpace. (doesn't apply to DB.Insert)If
refidis not provided, query will match data in PluginSpace.NOTE: since WebUI can delete data in ProfileSpace, you should refrain from referencing refid in your document to prevent getting unclearable garbage data.
If you need to make rival/friend feature, we recommend you to get all profile data by passing null to
refid. There will be 16 profiles maximum which is small enough to manage.