lib/grumlin/repository/instance_methods.rb
# Only from and to are used to find the existing edge, if one wants to assign an id to a created edge,
# it must be passed as T.id in create_properties.
Only from and to are used to find the existing edge, if one wants to assign an id to a created edge,
it must be passed as T.id in create_properties.
Only from and to are used to find the existing edge if one wants to assign an id to a created edge it must be passed as T . id in create_properties .
def upsert_edge(label, from:, to:, create_properties: {}, update_properties: {}, on_failure: :retry, **params) 
        with_upsert_error_handling(on_failure, params) do
          create_properties, update_properties = cleanup_properties(create_properties, update_properties, T.label)
          g.upsertE(label, from, to, create_properties, update_properties).next
        end
      end
def upsert_edge ( label , from : , to : , create_properties : { } , update_properties : { } , on_failure : :retry , ** params ) with_upsert_error_handling ( on_failure , params ) do create_properties , update_properties = cleanup_properties ( create_properties , update_properties , T . label ) g . upsertE ( label , from , to , create_properties , update_properties ) . next end end
Only from and to are used to find the existing edge, if one wants to assign an id to a created edge,
it must be passed as T.id in create_properties.
Only from and to are used to find the existing edge if one wants to assign an id to a created edge it must be passed as T . id in create_properties .
# rubocop:disable Metrics/ParameterLists
label
from
to
create_properties
update_properties
on_failure
params