struct
CryBase::CouchBase::Services::Query::Result
- CryBase::CouchBase::Services::Query::Result
- Struct
- Value
- Object
Defined in:
crybase/couchbase/services/query/result.crConstructors
- .from_body(body : String) : Result
- .from_stream(io : IO, &) : Result
- .new(request_id : String | Nil, client_context_id : String | Nil, status : String | Nil, signature : JSON::Any | Nil, rows : Array(JSON::Any), warnings : Array(Issue), errors : Array(Issue), metrics : JSON::Any | Nil, profile : JSON::Any | Nil, raw : JSON::Any)
Instance Method Summary
- #client_context_id : String | Nil
- #each_row(& : JSON::Any -> ) : Nil
- #each_row_as(type : T.class, & : T -> ) : Nil forall T
- #error? : Bool
- #errors : Array(Issue)
- #issue_code?(code : Int32 | Int64) : Bool
- #metrics : JSON::Any | Nil
- #prepared_statement_missing? : Bool
- #profile : JSON::Any | Nil
- #raw : JSON::Any
- #request_id : String | Nil
- #rows : Array(JSON::Any)
- #rows_as(type : T.class) : Array(T) forall T
- #signature : JSON::Any | Nil
- #status : String | Nil
- #success? : Bool
- #warnings : Array(Issue)
Constructor Detail
def self.new(request_id : String | Nil, client_context_id : String | Nil, status : String | Nil, signature : JSON::Any | Nil, rows : Array(JSON::Any), warnings : Array(Issue), errors : Array(Issue), metrics : JSON::Any | Nil, profile : JSON::Any | Nil, raw : JSON::Any)
#