The repository to search for entities in.
The search object for the type of data to return.
The Last retrieved version. All new data that has arrived after this version will be returned in this call, up to a maximum of resultsLimit data records. The FeedResult returned by the feed method will contain the highest version for subsequent calls. When starting a new feed, if this value is not provided, the call will return only the toVersion (last version in the system). The start date can be specified in the search argument.
Gets the count of entities in the supplied repository. Entities that are currently inactive (the Entity's ActiveTo date is before the current time) are counted as well.
The repository to get size of.
Number of entities in supplied repository.
Adds a new entity to the database. In most cases, the entity being added will need to be fully constructed. In other words, all its properties need to be defined. These requirements are defined in each entity definition.
The repository to add entity to.
The entity to create.
Find entities using supplied parameters.
The repo to find entities in.
The search conditions.
Observable collection of entities found.
Permanently removes an entity and it's associated data from supplied repository. The
entity must have an id
field, remaining fields are optional.
The repo to remove entity from.
The entity to remove.
Squat.
Update supplied entity in supplied repo.
The repository to update entity in.
The entity to update.
Observable of updated entity.
Generated using TypeDoc
Fetches changed records since last request. Feed result can contain only-new or updated and new records depending on the entity type.
https://geotab.github.io/sdk/software/guides/data-feed/#active-vs-calculated for details on which feeds will return udpated results.
Log new driver changes to console:
It may be required to provide an entity search using from date to "back-fill" or "seed" data from a date in the past. Providing a from date guarantees that the feed will start at a version with all entities that have a date greater than or equal to the date provided. However, it is possible that the feed will return entities before the provided date. Searching using from date should be used independent of fromVersion and only on the first request.