You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-structure base classes, so that we can use a custom object type as the create methods argument
don't violate Liskov's substitution principle...
static async create<C extends HE3CreateCfg, T extends ArangoHyperEdge3>(cfg: C): Promise
=> DONE by introducing a BaseDoc class which derives from Entity and implements CRUD methods for Nodes & Edges, but not for HyperEdge
right now, we cannot query an edge by _from & _to, combined; this is a problem with duplicate edge creation, which at the moment only leaves us the choice to -) use create & either catch the Error or ignore it... introduce either:
uniqueAttr: [_from, _to] for all edges, so we can use upsert => but do we want that in any case within hyperedges??
=> no!
write an edge-specific byNodes query which takes _from & _to as arguments, so we can implement it in a 2-step process
=> implicitly via the node objects it is handed..
The text was updated successfully, but these errors were encountered: