core: added getEntitiesData which get cache data for several entities at once
This commit is contained in:
parent
5049bc0b47
commit
ec25ba82e1
1 changed files with 84 additions and 3 deletions
|
|
@ -184,12 +184,24 @@ type=method
|
|||
category=core
|
||||
sig_in=sass
|
||||
sig_out=a{ss}
|
||||
doc=Get data for an entity
|
||||
doc=Get data in cache for an entity
|
||||
doc_param_0=jid: entity's bare jid
|
||||
doc_param_1=keys: list of keys to get
|
||||
doc_param_2=%(doc_profile)s
|
||||
doc_return=dictionary of asked key,
|
||||
if key doesn't exist, the resulting dictionary will neither have the key
|
||||
if key doesn't exist, the resulting dictionary will not have the key
|
||||
|
||||
[getEntitiesData]
|
||||
type=method
|
||||
category=core
|
||||
sig_in=asass
|
||||
sig_out=a{sa{ss}}
|
||||
doc=Get data in cache for several entities at once
|
||||
doc_param_0=jids: list of entities bare jid, or empty list to have all jids in cache
|
||||
doc_param_1=keys: list of keys to get
|
||||
doc_param_2=%(doc_profile)s
|
||||
doc_return=dictionary with jids as keys and dictionary of asked key as values
|
||||
if key doesn't exist for a jid, the resulting dictionary will not have it
|
||||
|
||||
[asyncCreateProfile]
|
||||
async=
|
||||
|
|
|
|||
Loading…
Reference in a new issue