struct Oxide::Query
- Oxide::Query
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Oxide::Language::Visitable
Defined in:
oxide/query.crConstructors
- .new(pull : JSON::PullParser)
- .new(query_string : String, variables : Hash(String, JSON::Any) = {} of String => JSON::Any, operation_name : Nil | String = nil)
Instance Method Summary
- #accept(visitor : Language::Visitor)
- #document : Oxide::Language::Nodes::Document
- #operation_name : String | Nil
- #query_string : String
- #variables : Hash(String, JSON::Any)
Instance methods inherited from module Oxide::Language::Visitable
accept(visitor : Visitor)
accept
Constructor Detail
def self.new(query_string : String, variables : Hash(String, JSON::Any) = {} of String => JSON::Any, operation_name : Nil | String = nil)
#