You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> From the version JsonQ 6.0 all the features rewrite from [QAarray](https://github.com/nahid/qarray). After a long run we noticed that Query Engine of JsonQ should be seperate. Becouse people want to query over various types of data like CSV, YAML, XML. So if we keep the query engine tightly coupled with this project its make no sense. Thats why we move the Query Engine part and develop a new package [QAarray](https://github.com/nahid/qarray). Qarray is designed for queryng over native PHP array and anyone can implement their own Engine, like JsonQ.
16
+
17
+
18
+
19
+
>
20
+
>
21
+
> ### Please do not update to >= 6.0 version directly from bellow
@@ -250,31 +264,31 @@ This is an alias method of `from()` and will behave exactly like that. See examp
250
264
*`val` -- value to be matched with. It can be a _int_, _string_, _bool_ or even _Function_ - depending on the `op`.
251
265
*`op` -- operand to be used for matching. The following operands are available to use:
252
266
253
-
*`=` : For weak equality matching
254
-
*`eq` : Same as `=`
255
-
*`!=` : For weak not equality matching
256
-
*`neq` : Same as `!=`
257
-
*`==` : For strict equality matching
258
-
*`seq` : Same as `==`
259
-
*`!==` : For strict not equality matching
260
-
*`sneq` : Same as `!==`
261
-
*`>` : Check if value of given **key** in data is Greater than **val**
262
-
*`gt` : Same as `>`
263
-
*`<` : Check if value of given **key** in data is Less than **val**
264
-
*`lt` : Same as `<`
265
-
*`>=` : Check if value of given **key** in data is Greater than or Equal of **val**
266
-
*`gte` : Same as `>=`
267
-
*`<=` : Check if value of given **key** in data is Less than or Equal of **val**
268
-
*`lte` : Same as `<=`
269
-
*`null` : Check if the value of given **key** in data is **null** (`val` parameter in `where()` can be omitted for this `op`)
270
-
*`notnull` : Check if the value of given **key** in data is **not null** (`val` parameter in `where()` can be omitted for this `op`)
271
-
*`in` : Check if the value of given **key** in data is exists in given **val**. **val** should be a plain _Array_.
272
-
*`notin` : Check if the value of given **key** in data is not exists in given **val**. **val** should be a plain _Array_.
273
-
*`startswith` : Check if the value of given **key** in data starts with (has a prefix of) the given **val**. This would only works for _String_ type data.
274
-
*`endswith` : Check if the value of given **key** in data ends with (has a suffix of) the given **val**. This would only works for _String_ type data.
275
-
*`contains` : Check if the value of given **key** in data has a substring of given **val**. This would only works for _String_ type data.
276
-
*`match` : Check if the value of given **key** in data has a Regular Expression match with the given **val**. The `val` parameter should be a **RegExp** for this `op`.
277
-
*`macro` : It would try to match the value of given **key** in data executing the given `val`. The `val` parameter should be a **Function** for this `op`. This function should have a matching logic inside it and return **true** or **false** based on that.
267
+
*`=` : For weak equality matching
268
+
*`eq` : Same as `=`
269
+
*`!=` : For weak not equality matching
270
+
*`neq` : Same as `!=`
271
+
*`==` : For strict equality matching
272
+
*`seq` : Same as `==`
273
+
*`!==` : For strict not equality matching
274
+
*`sneq` : Same as `!==`
275
+
*`>` : Check if value of given **key** in data is Greater than **val**
276
+
*`gt` : Same as `>`
277
+
*`<` : Check if value of given **key** in data is Less than **val**
278
+
*`lt` : Same as `<`
279
+
*`>=` : Check if value of given **key** in data is Greater than or Equal of **val**
280
+
*`gte` : Same as `>=`
281
+
*`<=` : Check if value of given **key** in data is Less than or Equal of **val**
282
+
*`lte` : Same as `<=`
283
+
*`null` : Check if the value of given **key** in data is **null** (`val` parameter in `where()` can be omitted for this `op`)
284
+
*`notnull` : Check if the value of given **key** in data is **not null** (`val` parameter in `where()` can be omitted for this `op`)
285
+
*`in` : Check if the value of given **key** in data is exists in given **val**. **val** should be a plain _Array_.
286
+
*`notin` : Check if the value of given **key** in data is not exists in given **val**. **val** should be a plain _Array_.
287
+
*`startswith` : Check if the value of given **key** in data starts with (has a prefix of) the given **val**. This would only works for _String_ type data.
288
+
*`endswith` : Check if the value of given **key** in data ends with (has a suffix of) the given **val**. This would only works for _String_ type data.
289
+
*`contains` : Check if the value of given **key** in data has a substring of given **val**. This would only works for _String_ type data.
290
+
*`match` : Check if the value of given **key** in data has a Regular Expression match with the given **val**. The `val` parameter should be a **RegExp** for this `op`.
291
+
*`macro` : It would try to match the value of given **key** in data executing the given `val`. The `val` parameter should be a **Function** for this `op`. This function should have a matching logic inside it and return **true** or **false** based on that.
278
292
279
293
**example:**
280
294
@@ -603,6 +617,7 @@ This package has also different language support.
603
617
-[Go JsonQ](https://github.com/thedevsaddam/gojsonq) developed by [Saddam H](https://github.com/thedevsaddam) - Upcoming
0 commit comments