1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-01 16:46:54 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
dea0c64d90 fix(doctest): properly provide the path param (#2978)
path param was not properly provided to some commands. javascript doesnt catch this error, but ts does
2025-05-28 11:49:55 +03:00
7c4f0eac76 Fix Node.js console.log output (#2974) 2025-05-27 18:12:58 +03:00
cb26059e5d DOC-4423: add TCEs for various command pages (#2885)
* DOC-4423: add TCEs for various command pages

* fix problematic doctest

from redis docs for ACL DELUSER:
Delete all the specified ACL users and terminate all the connections
 that are authenticated with such users

Nodejs complains: Warning: Detected unsettled top-level await
which in turn gives the error code 13 in the workflow

await client.auth({ username: 'test-user' ...});
// deleting the user that is currently logged in -> bad
await client.sendCommand(['ACL', 'DELUSER', 'test-user']);
await client.quit()

fix: authenticate with the default user before deleting the test-user

---------

Co-authored-by: Nikolay Karadzhov <nkaradzhov89@gmail.com>
2025-04-22 15:50:35 +01:00
001087f520 Update cmds-hash.js (#2863)
Update comment-line (58) from `foo` to `null`
2024-11-13 14:57:37 -05:00
c1edc2e718 DOC-4039: add TCEs to the query pages - reissue (#2846) 2024-10-23 17:48:36 +03:00
fd7b10be6c TCEs for select command pages (#2824)
* TCEs for select command pages

* Preemptive modifications from previous reviews

* Update to previous commit
2024-09-26 14:27:12 +03:00
ebd2037e48 DOC-4194: add TCEs to the exact match query page (COMMIT FIRST!) (#2830)
* DOC-4194: add TCEs to the exact match query page

* Preemptive modifications from previous reviews
2024-09-26 14:25:31 +03:00
9f810c2f85 Add back accidentally deleted doctests file (#2821)
* Add back accidentally deleted doctest file

* Update string-set-get-example.js
2024-09-26 14:21:19 +03:00
06e91d0623 fix: XRangeOptions COUNT (#2791)
Co-authored-by: larry <lijingyuan@teplore.com>
2024-07-30 13:25:32 -04:00
6a3ea590df doctests: fix step names (#2795) 2024-07-17 19:35:45 +03:00
0f3d0f3d1f DOC-3933: final 8 tabbed code examples (#2784) 2024-07-03 22:29:13 +03:00
e7347f8a51 DOC-3914: re-issue TCE PRs previously issued by justincastilla (#2781) 2024-07-03 22:29:04 +03:00
70f3606a3d Doc 2542 - Add code examples for the Geospatial tutorial (#2585)
* DOC-2542 Add code examples for the Geospatial tutorial

* adds spaces after properties in objects

---------

Co-authored-by: Justin Castilla <pxlperfection@gmail.com>
2023-10-26 14:55:29 -04:00
22f8b2f958 DOC 2526 - Add code examples for the List tutorial in Node.js (#2583)
* DOC-2526 Add code examples for the List tutorial

* adds formatting

---------

Co-authored-by: Justin Castilla <pxlperfection@gmail.com>
2023-08-21 14:31:47 -04:00
d268364968 Add hash tutorial 2023-07-04 16:55:20 +02:00
0588b383cb [DOC-2373] adds js samples to match search-quickstart md (#2538)
* [DOC-2373] adds js samples to match search-quickstart md

* Fixes step matching for the Search quickstart

* Update search-quickstart.js

---------

Co-authored-by: Justin Castilla <pxlperfection@gmail.com>
Co-authored-by: Elena Kolevska <elena@kolevska.com>
Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-06-22 12:44:35 +02:00
caaca48ca1 Add Redis.io code examples
- Add set & get example
- Use bash script to test doc tests
- Add package.json to doctests
- Add search-quickstart
2023-05-17 12:17:34 +02:00