Home
last modified time | relevance | path

Searched refs:JQL (Results 1 – 25 of 36) sorted by relevance

12

/third_party/ejdb/src/jql/
Djql.h46 typedef struct _JQL*JQL; typedef
82 IW_EXPORT WUR iwrc jql_create(JQL *qptr, const char *coll, const char *query);
84 IW_EXPORT WUR iwrc jql_create2(JQL *qptr, const char *coll, const char *query, jql_create_mode_t mo…
86 IW_EXPORT const char* jql_collection(JQL q);
94 IW_EXPORT WUR iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val);
97 JQL q, const char *placeholder, int index, JBL_NODE val,
100 IW_EXPORT WUR iwrc jql_set_json_jbl(JQL q, const char *placeholder, int index, JBL jbl);
102 IW_EXPORT WUR iwrc jql_set_i64(JQL q, const char *placeholder, int index, int64_t val);
104 IW_EXPORT WUR iwrc jql_set_f64(JQL q, const char *placeholder, int index, double val);
112 IW_EXPORT WUR iwrc jql_set_str(JQL q, const char *placeholder, int index, const char *val);
[all …]
Djql.c64 static JQVAL* _jql_find_placeholder(JQL q, const char *name) { in _jql_find_placeholder()
74 JQVAL* jql_find_placeholder(JQL q, const char *name) { in jql_find_placeholder()
78 static iwrc _jql_set_placeholder(JQL q, const char *placeholder, int index, JQVAL *val) { in _jql_set_placeholder()
122 JQL q, const char *placeholder, int index, JBL_NODE val, in jql_set_json2()
144 iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val) { in jql_set_json()
152 iwrc jql_set_json_jbl(JQL q, const char *placeholder, int index, JBL jbl) { in jql_set_json_jbl()
169 iwrc jql_set_i64(JQL q, const char *placeholder, int index, int64_t val) { in jql_set_i64()
186 iwrc jql_set_f64(JQL q, const char *placeholder, int index, double val) { in jql_set_f64()
204 JQL q, const char *placeholder, int index, const char *val, in jql_set_str2()
233 iwrc jql_set_str(JQL q, const char *placeholder, int index, const char *val) { in jql_set_str()
[all …]
DREADME.md1 # JQL chapter
3 EJDB query language (JQL) syntax inspired by ideas behind XPath and Unix shell pipes.
6 ## JQL grammar
8 JQL parser created created by
11 ## Non formal JQL grammar adapted for brief overview
71 ## JQL quick introduction
76 NOTE: Take a look into [JQL test cases](https://github.com/Softmotions/ejdb/blob/master/src/jql/tes…
204 consider only JQL queries.**
320 ## JQL data modification
435 ## JQL projections
[all …]
Djql_internal.h52 JQVAL* jql_find_placeholder(JQL q, const char *name);
/third_party/ejdb/src/bindings/ejdb2_jni/src/android/java/com/softmotions/ejdb2/
DJQL.java40 public final class JQL { class
42 private static final ReferenceQueue<JQL> refQueue = new ReferenceQueue<JQL>();
99 public JQL setCollection(String collection) { in setCollection()
109 public JQL withExplain() { in withExplain()
119 public JQL withNoExplain() { in withNoExplain()
134 public JQL setSkip(long skip) { in setSkip()
147 public JQL setLimit(long limit) { in setLimit()
172 public JQL setString(int pos, String val) throws EJDB2Exception { in setString()
193 public JQL setString(String placeholder, String val) throws EJDB2Exception { in setString()
198 public JQL setLong(int pos, long val) throws EJDB2Exception { in setLong()
[all …]
DEJDB2.java71 public JQL createQuery(String query) throws EJDB2Exception { in createQuery()
72 return new JQL(this, query, null); in createQuery()
85 public JQL createQuery(String query, String collection) throws EJDB2Exception { in createQuery()
86 return new JQL(this, query, collection); in createQuery()
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/
DJQL.java41 public final class JQL implements AutoCloseable { class
43 private static final ReferenceQueue<JQL> refQueue = new ReferenceQueue<>();
97 public JQL setCollection(String collection) { in setCollection()
107 public JQL withExplain() { in withExplain()
117 public JQL withNoExplain() { in withNoExplain()
136 public JQL setSkip(long skip) { in setSkip()
149 public JQL setLimit(long limit) { in setLimit()
174 public JQL setString(int pos, String val) throws EJDB2Exception { in setString()
195 public JQL setString(String placeholder, String val) throws EJDB2Exception { in setString()
200 public JQL setLong(int pos, long val) throws EJDB2Exception { in setLong()
[all …]
DEJDB2.java68 public JQL createQuery(String query) throws EJDB2Exception { in createQuery()
69 return new JQL(this, query, null); in createQuery()
82 public JQL createQuery(String query, String collection) throws EJDB2Exception { in createQuery()
83 return new JQL(this, query, collection); in createQuery()
/third_party/ejdb/src/bindings/ejdb2_react_native/binding/
Dindex.d.ts30 export type JQLExecuteCallback = (doc: JBDOC, jql?: JQL) => any;
33 (jql: JQL): Promise<T>;
271 createQuery(query: string, collection?: string): JQL;
365 interface JQL { property in ejdb2_react_native.JBE
401 withSkip(skip: number): JQL;
408 withLimit(limit: number): JQL;
414 withCollection(coll: string): JQL;
419 withExplain(): JQL;
424 setString(placeholder: Placeholder, val: string): JQL;
429 setJSON(placeholder: Placeholder, val: string | object): JQL;
[all …]
Dindex.js59 class JQL { class
475 return new JQL(this, qh);
/third_party/ejdb/src/bindings/ejdb2_node/
Dindex.d.ts92 class JQL {
141 setJSON(placeholder: Placeholder, val: object | string): JQL;
146 setRegexp(placeholder: Placeholder, val: string): JQL;
151 setNumber(placeholder: Placeholder, val: number): JQL;
156 setBoolean(placeholder: Placeholder, val: boolean): JQL;
161 setString(placeholder: Placeholder, val: string): JQL;
166 setNull(placeholder: Placeholder): JQL;
450 createQuery(query: string, collection?: string): JQL;
Dindex.js232 class JQL { class
700 return new JQL(this, query, collection);
/third_party/ejdb/src/
Dejdb2.h154 JQL q; /**< Query executed. Not zero. */
177JQL q; /**< Query object to be executed. Created by `jql_create()` Required. …
263 IW_EXPORT WUR iwrc ejdb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWPOOL *pool);
274 IW_EXPORT WUR iwrc ejdb_count(EJDB db, JQL q, int64_t *count, int64_t limit);
296 IW_EXPORT WUR iwrc ejdb_update(EJDB db, JQL q);
368 IW_EXPORT WUR iwrc ejdb_list4(EJDB db, JQL q, int64_t limit, IWXSTR *log, EJDB_LIST *listp);
Dejdb2.c779 JQL q = ux->q; in _jb_exec_upsert_lw()
912 static iwrc _jb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWXSTR *log, IWPOOL *pool) { in _jb_list()
936 static iwrc _jb_count(EJDB db, JQL q, int64_t *count, int64_t limit, IWXSTR *log) { in _jb_count()
951 iwrc ejdb_count(EJDB db, JQL q, int64_t *count, int64_t limit) { in ejdb_count()
956 JQL jql; in ejdb_count2()
964 iwrc ejdb_update(EJDB db, JQL q) { in ejdb_update()
974 iwrc ejdb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWPOOL *pool) { in ejdb_list()
1008 iwrc ejdb_list4(EJDB db, JQL q, int64_t limit, IWXSTR *log, EJDB_LIST *listp) { in ejdb_list4()
/third_party/ejdb/src/bindings/ejdb2_flutter/lib/
Dejdb2_flutter.dart164 class JQL {
165 JQL._(this._jb, this.collection, this.qtext);
191 JQL setString(dynamic placeholder, String val) {
200 JQL setInt(dynamic placeholder, int val) {
209 JQL setDouble(dynamic placeholder, double val) {
218 JQL setBoolean(dynamic placeholder, bool val) {
227 JQL setRegexp(dynamic placeholder, RegExp val) {
236 JQL setJson(dynamic placeholder, Object json) {
248 final qh = '${++JQL._qhandle}';
356 JQL createQuery(String query, [String collection]) => JQL._(this, collection, query);
[all …]
/third_party/ejdb/src/bindings/ejdb2_react_native/binding/android/src/main/java/com/softmotions/ejdb2/
DEJDB2JQLModule.java24 static Map<Integer, JQL> jqlmap = new ConcurrentHashMap<>();
246 JQL jql = jqlmap.get(jqlid); in close()
256 private JQL jql(Integer jqlid) throws RuntimeException { in jql()
257 JQL jql = jqlmap.get(jqlid); in jql()
279 void apply(JQL jql) throws Exception; in apply()
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c100 IW_INLINE iwrc jbn_jql_q(JNIEnv *env, jobject thisObj, JQL *q) { in jbn_jql_q()
651 JQL q = 0; in Java_com_softmotions_ejdb2_JQL__1init()
703 JQL q = (void*) ptr; in Java_com_softmotions_ejdb2_JQL__1reset()
711 JQL q = (void*) handle; in Java_com_softmotions_ejdb2_JQL__1destroy()
770 JQL q; in Java_com_softmotions_ejdb2_JQL__1execute()
852 JQL q; in Java_com_softmotions_ejdb2_JQL__1execute_1scalar_1long()
933 JQL q; in Java_com_softmotions_ejdb2_JQL__1set_1string()
1009 JQL q; in Java_com_softmotions_ejdb2_JQL__1set_1long()
1037 JQL q; in Java_com_softmotions_ejdb2_JQL__1set_1double()
1065 JQL q; in Java_com_softmotions_ejdb2_JQL__1set_1boolean()
[all …]
DCMakeLists.txt37 android/java/com/softmotions/ejdb2/JQL.java
62 com/softmotions/ejdb2/JQL.java
101 CLASSES com.softmotions.ejdb2.EJDB2 com.softmotions.ejdb2.JQL
/third_party/ejdb/src/bindings/ejdb2_jni/src/test/java/com/softmotions/ejdb2/
DTestEJDB2.java66 JQL q = db.createQuery("@mycoll/*"); in dbTest()
96 try (JQL q2 = db.createQuery("/[foo=:?]", "mycoll").setString(0, "zaz")) { in dbTest()
104 try (JQL q2 = db.createQuery("/[foo=:val]", "mycoll").setString("val", "bar")) { in dbTest()
/third_party/ejdb/src/bindings/ejdb2_android/test/ejdb2/src/androidTest/java/com/softmotions/ejdb2/
DEjdb2AndroidTest.java72 JQL q = db.createQuery("@mycoll/*"); in ejdb2tests()
106 JQL q2 = db.createQuery("/[foo=:?]", "mycoll").setString(0, "zaz"); in ejdb2tests()
122 JQL q2 = db.createQuery("/[foo=:val]", "mycoll").setString("val", "bar"); in ejdb2tests()
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Dejdb2_dart.dart93 class JQL extends NativeFieldWrapperClass2 {
94 JQL._(this.db, this.query, this.collection);
179 JQL setJson(dynamic placeholder, dynamic json) {
188 JQL setRegExp(dynamic placeholder, RegExp regexp) {
197 JQL setInt(dynamic placeholder, int val) {
206 JQL setDouble(dynamic placeholder, double val) {
215 JQL setBoolean(dynamic placeholder, bool val) {
224 JQL setString(dynamic placeholder, String val) {
233 JQL setNull(dynamic placeholder) {
581 JQL createQuery(String query, [String collection]) native 'create_query';
/third_party/ejdb/src/tests/
Dejdb_test4.c19 static void set_apply_int(JQL q, int idx, const char *key, int64_t id) { in set_apply_int()
40 JQL q; in ejdb_test4_1()
144 JQL q; in ejdb_test4_2()
/third_party/ejdb/src/jql/tests/
Djql_test1.c85 JQL jql; in _jql_test1_2()
204 JQL jql; in _jql_test1_3()
283 JQL q = 0; in jql_test_1_5()
/third_party/ejdb/
DREADME.md16 * Simple but powerful query language (JQL) as well as support of the following standards:
33 * **[JQL query language](#jql)**
178 # JQL chapter
180 EJDB query language (JQL) syntax inspired by ideas behind XPath and Unix shell pipes.
183 ## JQL grammar
185 JQL parser created created by
188 ## Non formal JQL grammar adapted for brief overview
248 ## JQL quick introduction
253 NOTE: Take a look into [JQL test cases](https://github.com/Softmotions/ejdb/blob/master/src/jql/tes…
381 consider only JQL queries.**
[all …]
/third_party/ejdb/src/examples/
Dexample1.c25 JQL q = 0; // Query instance in main()

12