--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: redis excerpt: | DuckDB Community Extensions Redis compatible Client for DuckDB docs: extended_description: For more information regarding usage, see the [documentation](https://query.farm/products/extensions/redis/). hello_world: "-- Create a local Redis connection secret\nCREATE SECRET IF NOT EXISTS\ \ redis (\n TYPE redis,\n PROVIDER config,\n host 'localhost',\n\ \ port '6379',\n password 'optional_password'\n );\n\n-- Create\ \ a Redis cloud connection secret\nCREATE SECRET IF NOT EXISTS redis (\n \ \ TYPE redis,\n PROVIDER config,\n host 'redis-1234.ec2.redns.redis-cloud.com',\n\ \ port '16959',\n password 'xxxxxx'\n );\n\n-- Set a value\n\ SELECT redis_set('user:1', 'John Doe', 'redis') as result;\n\n-- Get a value\n\ SELECT redis_get('user:1', 'redis') as user_name;\n\n-- Set hash fields\nSELECT\ \ redis_hset('user:1', 'email', 'john@example.com', 'redis');\nSELECT redis_hset('user:1',\ \ 'age', '30', 'redis');\n\n-- Get hash field\nSELECT redis_hget('user:1', 'email',\ \ 'redis') as email;\n\n-- Push items to list\nSELECT redis_lpush('mylist', 'first_item',\ \ 'redis');\nSELECT redis_lpush('mylist', 'second_item', 'redis');\n\n-- Get range\ \ from list (returns comma-separated values)\n-- Get all items (0 to -1 means\ \ start to end)\nSELECT redis_lrange('mylist', 0, -1, 'redis') as items;\n\n--\ \ Get first 5 items\nSELECT redis_lrange('mylist', 0, 4, 'redis') as items;\n\n\ -- Push multiple items\nWITH items(value) AS (\n VALUES ('item1'), ('item2'),\ \ ('item3')\n)\nSELECT redis_lpush('mylist', value, 'redis')\nFROM items;\n" extension: build: cmake description: Redis compatible Client for DuckDB excluded_platforms: wasm_mvp;wasm_eh;wasm_threads language: C++ license: MIT maintainers: - lmangani - gigapi - rustyconover name: redis version: '2025120401' repo: andium: 52d4e50c2fce74de9e9c90b15316a63350614495 github: quackscience/duckdb-extension-redis ref: 0dc6a8a84206fb4cb59c33fd5ba65c1c3e18c790 variegata: 54559a51e0d4337ac6b5d553cc37a909c9a52393 extension_star_count: 17 extension_star_count_pretty: 17 extension_download_count: 20870 extension_download_count_pretty: 20.9k image: '/images/community_extensions/social_preview/preview_community_extension_redis.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ✅ | ❌ | ✅ | ✅ | ✅ | | Linux ARM64 | ✅ | ❌ | ✅ | ✅ | ✅ | | macOS AMD64 | ✅ | ❌ | ✅ | ✅ | ✅ | | macOS ARM64 | ✅ | ❌ | ✅ | ✅ | ✅ | | Windows AMD64 | ✅ | ❌ | ✅ | ✅ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions This extension does not add any functions. ### Overloaded Functions This extension does not add any function overloads. ### Added Types This extension does not add any types. ### Added Settings This extension does not add any settings.