Package com.surrealdb

Class InsertRelation

java.lang.Object
com.surrealdb.InsertRelation

public class InsertRelation extends Object
The InsertRelation class represents a relationship between entities in a graph database. It is primarily used to insert relations into a table using SurrealDB.

This class encapsulates the identifiers for the relation, including the IDs for the entities that participate in the relationship. Specifically, it includes the following fields:

  • id: The unique identifier for the relation
  • in: The RecordId of the incoming node in the relation
  • out: The RecordId of the outgoing node in the relation