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
Copy file name to clipboardExpand all lines: README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,30 +52,40 @@ Resolve if connected. Or reject if not.
52
52
53
53
Auth with using chap-sha1(http://tarantool.org/doc/book/box/box_space.html). About authenthication more here: http://tarantool.org/doc/book/box/authentication.html
**select(spaceId: Number or String, indexId: Number or String, limit: Number, offset: Number, iterator: Iterator, key: tuple) : Promise( Array of tuples)**
It's just select. Promise resolve array of tuples.
60
60
61
-
**delete(spaceId: Number, indexId: Number, key: tuple) : Promise(Array of tuples)**
61
+
Some examples:
62
+
63
+
```
64
+
conn.select(512, 0, 1, 0, 'eq', [50]);
65
+
//same as
66
+
conn.select('test', 'primary', 1, 0, 'eq', [50]);
67
+
```
68
+
69
+
You can use space name or index name instead if id but it will some requests for get this metadata. That information actual for delete, replace, insert, update too.
70
+
71
+
**delete(spaceId: Number or String, indexId: Number or String, key: tuple) : Promise(Array of tuples)**
0 commit comments