gets ids of items in the specified range
| from | number|string | the id of the first object in a range |
| to | id | the id of the last object in a range |
| array | an array of ids in the specified range |
If called without parameters the method returns all items from the datastore.