Class

GomRepository

Description

final class Gom.Repository : GObject.Object
{
  /* No available fields */
}

No description available.

Hierarchy

hierarchy this GomRepository ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

gom_repository_new

Creates a new GomRepository using driver to communicate with storage.

gom_repository_new_with_coordinator

Creates a new GomRepository with a sync coordinator attached.

Instance methods

gom_repository_begin_session

Opens a session that will use the repository’s driver and registry.

gom_repository_count

Returns the total matching row count for query without materializing rows.

gom_repository_describe_relation

Describes relation.

gom_repository_dup_coordinator

Gets the sync coordinator attached to the repository.

gom_repository_dup_driver

Gets the driver used to create the repository.

gom_repository_find_one

Finds the first entity of entity_type matching all provided property/value pairs.

gom_repository_find_one_with_properties

Finds the first entity of entity_type matching all provided property/value pairs.

gom_repository_insert_entity

Binds entity to self and inserts it with gom_entity_insert().

gom_repository_list_entities

Builds a query for entity_type, applies the optional filter and ordering, and returns all matching entities as a list model.

gom_repository_list_entity_types

Lists entity types registered with the repository.

gom_repository_list_query

Creates a lazy entity list model for query.

gom_repository_list_records

Creates a lazy record list model for query.

gom_repository_list_relations

Lists relations available in the repository.

gom_repository_mutate

Performs mutation and returns a mutation result at some point in the future.

gom_repository_query

Performs query and returns a cursor at some point in the future.

gom_repository_register_entity_type

Registers entity_type with the repository.

gom_repository_supports_feature

Checks whether the repository backend supports feature.

gom_repository_supports_vector_distance

Checks whether the repository backend supports SQL distance expressions for format and metric.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Gom.Repository:coordinator
No description available.

Gom.Repository:driver
No description available.

Gom.Repository:migrator
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GomRepositoryClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.