FaunaRepository<T extends Entity> class
abstract
Methods
-
find(String id, Function deserialize)
→ Future<Optional<T>>
-
It finds an Entity for the given Id.
override
-
findAll(PaginationOptions po, Function deserialize)
→ Future<Page>
-
- It retrieves a {@link Page} of {@link Post} entities
- for the given {@link PaginationOptions}.
- @param po the {@link PaginationOptions} to determine which {@link Page} of results to return
- @return a {@link Page} of Entities
//
override
-
nextId()
→ Future<Optional<String>>
-
It returns a unique valid Id.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(String id, Function deserialize)
→ Future<Optional<T>>
-
It finds the Entity for the given Id and
removes it. If no Entity can be found for
the given Id an empty result is returned.
override
-
save(T entity, Function deserialize)
→ Future<T>
-
It saves the given Entity into the Repository.
override
-
saveQuery(String id, Expr data)
→ Expr
-
-
toString()
→ String
-
A string representation of this object.
inherited