diff --git a/docs/interfaces/datastore-service.txt b/docs/interfaces/datastore-service.txt index c5053c013..ae7b7007a 100644 --- a/docs/interfaces/datastore-service.txt +++ b/docs/interfaces/datastore-service.txt @@ -198,9 +198,10 @@ Interface GetManyRequest { * browses the history. It should be noted that it is highly disencouraged to use this * method because it might return a huge amount of data. * + * @returns see get_many * @throws InvalidFormat */ -get_all(collection: Collection, mapped_fields?: Field[], get_deleted_models?: DeletedModelsBehaviour): Partial[]; +get_all(collection: Collection, mapped_fields?: Field[], get_deleted_models?: DeletedModelsBehaviour): Map>; /** * Returns all models of one collection that satisfy the filter condition. @@ -208,9 +209,10 @@ get_all(collection: Collection, mapped_fields?: Field[], get_deleted_models?: De * * This method does not take a position and can not be used when browsing the history. * + * @returns see get_many * @throws InvalidFormat */ -filter(collection: Collection, filter: Filter, mapped_fields?: Field[]): Partial[] +filter(collection: Collection, filter: Filter, mapped_fields?: Field[]): Map> /** * Url: POST to /internal/datastore/reader/exists