public static C4QueryEnumerator *c4view_fullTextQuery(C4View *view,
                                                       string queryString,
                                                       string queryStringLanguage,
                                                       C4QueryOptions *c4Options,
                                                       C4Error *outError)
 {
     using (var queryString_ = new C4String(queryString))
         using (var queryStringLanguage_ = new C4String(queryStringLanguage)) {
             return(NativeRaw.c4view_fullTextQuery(view, queryString_.AsC4Slice(), queryStringLanguage_.AsC4Slice(),
                                                   c4Options, outError));
         }
 }
Example #2
0
        public static C4QueryEnumerator *c4query_run(C4Query *query,
                                                     C4QueryOptions *options,
                                                     byte[] encodedParams,
                                                     C4Error *outError)
        {
            fixed(byte *b = encodedParams)
            {
                var length = encodedParams == null ? 0UL : (ulong)encodedParams.Length;

                return(NativeRaw.c4query_run(query, options, new C4Slice(b, length), outError));
            }
        }
Example #3
0
 public static extern C4QueryEnumerator *c4query_run(C4Query *query,
                                                     C4QueryOptions *options,
                                                     C4Slice encodedParams,
                                                     C4Error *outError);
Example #4
0
 public static C4QueryEnumerator *c4query_run(C4Query *query, C4QueryOptions *options, string encodedParameters, C4Error *outError)
 {
     using (var encodedParameters_ = new C4String(encodedParameters)) {
         return(NativeRaw.c4query_run(query, options, encodedParameters_.AsFLSlice(), outError));
     }
 }
 public C4QueryEnumerator *c4query_run(C4Query *query, C4QueryOptions *options, C4Slice encodedParameters, C4Error *outError) => NativeRaw.c4query_run(query, options, encodedParameters, outError);
 public static C4QueryEnumerator *c4query_run(C4Query *query, C4QueryOptions *options, FLSlice encodedParameters, C4Error *outError) => Impl.c4query_run(query, options, encodedParameters, outError);
 public static extern C4QueryEnumerator *c4view_fullTextQuery(C4View *view,
                                                              C4Slice queryString,
                                                              C4Slice queryStringLanguage,
                                                              C4QueryOptions *c4Options,
                                                              C4Error *outError);
 public static extern C4QueryEnumerator *c4view_query(C4View *view, C4QueryOptions *options, C4Error *outError);