package synchronizator type Node struct { _conn *db Id int64 _class string _relationships []*Relationship name string metadata any } func (node *Node) AddRelation(metadata any, to int64) (*Relationship, error) { return node._conn.AddRelation(node.Id, metadata, to) } type NodeIdentifier interface { int64 | Node }