GraphApi<T extends BaseSunnyEntity, C extends GraphInput, U extends GraphInput> class abstract

Constructors

GraphApi.new()

Properties

artifactId String
no setter
artifactPlural String
no setter
entityName String
no setter
entityPlural String
no setter
eventService → RecordEventService
no setter
hashCode int
The hash code for this object.
no setterinherited
mtype → MSchemaRef
no setter
resolver Neo4JGraphQueryResolver
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializer GraphSerializer
no setter

Methods

client() → GraphQLClient
count() Future<double>
create(C input) Future<T>
delete(String id) Future<int>
get(String id) Future<T>
getOrCreate(String id, {required C create()}) Future<T>
list([Object filters = const {}]) Future<List<T>>
load(String id) Future<T?>
loadRelated<T>({required String id, required String relatedType, required String field, required bool isNullable, required bool isJoinType, Map<String, Object?>? where, String? queryName}) Future<T>
loadRelatedList<T>({required String id, required String relatedType, required bool isNullable, required String field, required bool isJoinType, Map<String, Object?>? where, String? queryName}) Future<List<T>>
neo4JClient() Neo4JGraphQLClient
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(String id, U input) Future<T>

Operators

operator ==(Object other) bool
The equality operator.
inherited