@data-loom/js 0.0.2-alpha.1 → 0.0.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -74
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -195,80 +195,6 @@ const { data, error } = await dataloom
|
|
|
195
195
|
.in('name', ['Leia', 'Han'])
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
* Column contains every element in a value
|
|
199
|
-
```js
|
|
200
|
-
const { data, error } = await dataloom
|
|
201
|
-
.from('issues')
|
|
202
|
-
.select()
|
|
203
|
-
.contains('tags', ['is:open', 'priority:low'])
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
* Contained by value
|
|
207
|
-
```js
|
|
208
|
-
const { data, error } = await dataloom
|
|
209
|
-
.from('classes')
|
|
210
|
-
.select('name')
|
|
211
|
-
.containedBy('days', ['monday', 'tuesday', 'wednesday', 'friday'])
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
* Greater than a range
|
|
215
|
-
```js
|
|
216
|
-
const { data, error } = await dataloom
|
|
217
|
-
.from('reservations')
|
|
218
|
-
.select()
|
|
219
|
-
.rangeGt('during', '[2000-01-02 08:00, 2000-01-02 09:00)')
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
* Greater than or equal to a range
|
|
223
|
-
```js
|
|
224
|
-
const { data, error } = await dataloom
|
|
225
|
-
.from('reservations')
|
|
226
|
-
.select()
|
|
227
|
-
.rangeGte('during', '[2000-01-02 08:30, 2000-01-02 09:30)')
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
* Less than a range
|
|
231
|
-
```js
|
|
232
|
-
const { data, error } = await dataloom
|
|
233
|
-
.from('reservations')
|
|
234
|
-
.select()
|
|
235
|
-
.rangeLt('during', '[2000-01-01 15:00, 2000-01-01 16:00)')
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
* Less than or equal to a range
|
|
239
|
-
```js
|
|
240
|
-
const { data, error } = await dataloom
|
|
241
|
-
.from('reservations')
|
|
242
|
-
.select()
|
|
243
|
-
.rangeLte('during', '[2000-01-01 14:00, 2000-01-01 16:00)')
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
* Mutually exclusive to a range
|
|
247
|
-
```js
|
|
248
|
-
const { data, error } = await dataloom
|
|
249
|
-
.from('reservations')
|
|
250
|
-
.select()
|
|
251
|
-
.rangeAdjacent('during', '[2000-01-01 12:00, 2000-01-01 13:00)')
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
* With a common element
|
|
255
|
-
```js
|
|
256
|
-
const { data, error } = await dataloom
|
|
257
|
-
.from('issues')
|
|
258
|
-
.select('title')
|
|
259
|
-
.overlaps('tags', ['is:closed', 'severity:high'])
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
* Match a string
|
|
263
|
-
```js
|
|
264
|
-
const result = await dataloom
|
|
265
|
-
.from("texts")
|
|
266
|
-
.select("content")
|
|
267
|
-
.textSearch("content", `'eggs' & 'ham'`, {
|
|
268
|
-
config: "english",
|
|
269
|
-
});
|
|
270
|
-
```
|
|
271
|
-
|
|
272
198
|
* Match an associated value
|
|
273
199
|
```js
|
|
274
200
|
const { data, error } = await dataloom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@data-loom/js",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.2",
|
|
4
4
|
"description": "Isomorphic Javascript client for dataloom",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"serve:coverage": "npm run test:coverage && serve test/coverage"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@data-loom/auth-js": "0.0.2-alpha.
|
|
41
|
-
"@data-loom/functions-js": "0.0.2-alpha.
|
|
42
|
-
"@data-loom/node-fetch": "0.0.2-alpha.
|
|
43
|
-
"@data-loom/postgrest-js": "0.0.2-alpha.
|
|
44
|
-
"@data-loom/realtime-js": "0.0.2-alpha.
|
|
40
|
+
"@data-loom/auth-js": "0.0.2-alpha.2",
|
|
41
|
+
"@data-loom/functions-js": "0.0.2-alpha.2",
|
|
42
|
+
"@data-loom/node-fetch": "0.0.2-alpha.2",
|
|
43
|
+
"@data-loom/postgrest-js": "0.0.2-alpha.2",
|
|
44
|
+
"@data-loom/realtime-js": "0.0.2-alpha.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@sebbo2002/semantic-release-jsr": "^1.0.0",
|