Sha256: 870b6d424657bfb1af9e9a2b51713353e96ab5befd1018152c88f1ba0ce85bce

Contents?: true

Size: 1.33 KB

Versions: 32

Compression:

Stored size: 1.33 KB

Contents

module Libcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :cmdflags ::
  #   (Integer)
  # :query ::
  #   (String) Query to be placed in the POST request. The library will not perform
  #   any conversions or validation on this string, so it is up to the user
  #   (or wrapping library) to ensure that the string is well formed.
  #
  #   If using the @ref lcb_N1QLPARAMS structure, the lcb_n1p_mkcmd() function
  #   will properly populate this field.
  #
  #   In general the string should either be JSON (in which case, the
  #   #content_type field should be `application/json`) or url-encoded
  #   (in which case the #content_type field should be
  #   `application/x-www-form-urlencoded`)
  # :nquery ::
  #   (Integer) Length of the query data
  # :host ::
  #   (String) Ignored since version 2.5.3
  # :content_type ::
  #   (String) Ignored since version 2.5.3
  # :callback ::
  #   (Proc(callback_n1qlcallback)) Callback to be invoked for each row
  # :handle ::
  #   (FFI::Pointer(*N1QLHANDLE)) Request handle. Will be set to the handle which may be passed to
  #   lcb_n1ql_cancel()
  class CMDN1QL < FFI::Struct
    layout :cmdflags, :uint,
           :query, :string,
           :nquery, :ulong,
           :host, :string,
           :content_type, :string,
           :callback, :n1qlcallback,
           :handle, :pointer
  end

end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
libcouchbase-mapo-1.4.1 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.3.2 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.3.0 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.8 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.7 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.6 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.5 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.4 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.3 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.2 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.1 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.2.0 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.1.1 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.1.0 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.0.4 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.0.3 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.0.2 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.0.1 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-1.0.0 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb
libcouchbase-0.3.3 lib/libcouchbase/ext/libcouchbase/cmdn1ql.rb