Mercurial > libervia-pubsub
comparison sat_pubsub/pgsql_storage.py @ 347:f33406fcab5c
pgsql: fixed _getItems call
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 24 Aug 2017 01:35:43 +0200 |
parents | 3bbab2173ebc |
children | 20b82fb8de02 |
comparison
equal
deleted
inserted
replaced
346:3bbab2173ebc | 347:f33406fcab5c |
---|---|
793 @return: list of container.ItemData | 793 @return: list of container.ItemData |
794 if unrestricted is False, access_model and config will be None | 794 if unrestricted is False, access_model and config will be None |
795 """ | 795 """ |
796 if ext_data is None: | 796 if ext_data is None: |
797 ext_data = {} | 797 ext_data = {} |
798 return self.dbpool.runInteraction(self._getItems, authorized_groups, unrestricted, maxItems, ext_data) | 798 return self.dbpool.runInteraction(self._getItems, authorized_groups, unrestricted, maxItems, ext_data, ids_only=False) |
799 | 799 |
800 def getItemsIds(self, authorized_groups, unrestricted, maxItems=None, ext_data=None): | 800 def getItemsIds(self, authorized_groups, unrestricted, maxItems=None, ext_data=None): |
801 """ Get all authorised items ids | 801 """ Get all authorised items ids |
802 | 802 |
803 @param authorized_groups: we want to get items that these groups can access | 803 @param authorized_groups: we want to get items that these groups can access |