Method: CypherBuilder::Runner#execute
- Defined in:
- lib/cypher_builder/infra/runner.rb
#execute(**params) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/cypher_builder/infra/runner.rb', line 17 def execute(** params) payload = Payload.new(params) context = Context.new cypher = self.class.cypher.as_cypher(payload: payload, context: context) @adapter.execute(cypher, payload.necessary) end |