Skip to content

Commit 4f7350c

Browse files
ohsayanglydr
authored andcommitted
Updated docs from upstream
Triggered by d744eaa2f6d02986af8d7b8933f75d65b314e5fc
1 parent 66febcf commit 4f7350c

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

docs/6.all-actions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Skytable currently supports the following actions:
1010
- [EXISTS](actions/EXISTS.md)
1111
- [FLUSHDB](actions/FLUSHDB.md)
1212
- [GET](actions/GET.md)
13+
- [HEYA](actions/HEYA.md)
1314
- [KEYLEN](actions/KEYLEN.md)
1415
- [LSKEYS](actions/LSKEYS.md)
1516
- [MGET](actions/MGET.md)

docs/actions/HEYA.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,23 @@
22
id: heya
33
title: HEYA
44
---
5+
56
:::note About
67
**Time complexity**: O(1)
7-
**Arguments**: `HEYA`
8-
**Returns**: HEY!
8+
**Accept type**:
9+
10+
- [AnyArray](../protocol/data-types.md#any-array)
11+
12+
**Return type**:
13+
14+
- [String](../protocol/skyhash.md#strings-)
15+
16+
**Syntax**:
17+
18+
- `HEYA`
19+
- `HEYA <message>`
20+
921
:::
10-
### Description
11-
A ping action. `HEYA` should return `HEY!`
22+
23+
Either returns a "HEY!" or returns the provided argument as a String
24+

docs/actions/MPOP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ title: MPOP
1919

2020
:::
2121

22-
Deletes and returns the values of the provided keys from the current table. If the database is poisoned,
23-
this will return a server error. An exceptional scenario can arise when the database
24-
fails in-between removing all the keys. In that case, you get the server error
25-
response code instead of the keys. If the server recovers inbetween, then the
26-
appropriate values (if any) will be returned. In all other cases a NIL error is
22+
Deletes and returns the values of the provided 'n' keys from the current table.
23+
If the database is poisoned, this will return a server error. An exceptional scenario
24+
can arise when the database fails in-between removing all the keys. In that case, you
25+
get the server error response code instead of the keys. If the server recovers inbetween,
26+
then the appropriate values (if any) will be returned. In all other cases a NIL error is
2727
returned (code 1)
2828

0 commit comments

Comments
 (0)