Comments (5)
好问题,eval命令是支持的,但还真没对lua优化过,我这也调试一下
from anotherredisdesktopmanager.
较短的脚本可以执行成功
from anotherredisdesktopmanager.
好问题,eval命令是支持的,但还真没对lua优化过,我这也调试一下
感谢! 这里有几个可能因素, 不确定到底是哪一个
- 命令过长
- 特殊符号影响了命令, 如lua字符串中的 "<" (小于号)
from anotherredisdesktopmanager.
@qishibo any update on this?
from anotherredisdesktopmanager.
测试是可以的,执行如下命令
EVAL "local currentDate = KEYS[1]; local result = {}; for i, key in pairs(redis.call('KEYS', '2023????')) do if tonumber(key) < tonumber(currentDate) then redis.call('DEL', key); table.insert(result, key); end end; redis.call('EXPIRE', currentDate, 86400); return result" 1 20230323 ;
from anotherredisdesktopmanager.
Related Issues (20)
- Can't connect to a Redis cluster when I check the Cluster checkbox. HOT 2
- 建议加一个连接分组功能,项目越做越多,已存在的连接也越来越多
- 升级安装失败 HOT 7
- 提个需求,希望增加一个分组功能,可以把连接信息归类到分组里面 HOT 5
- key展示不完全 HOT 2
- 通过SSH连接内网集群时遇到的问题 HOT 1
- ubuntu 24.04 导入链接配置文件不能正常显示 HOT 3
- 1.6.4 GPU process isn't usable. Goodbye. HOT 2
- 大数值精度丢失 HOT 2
- ssh代理 HOT 2
- ImportKey fails without useful error report HOT 7
- UI 美化方便的建议
- 1.6.5 Intel传错成arm了 HOT 5
- xshell可以连上ssh,客户端ssh方式报错 HOT 1
- 文件夹内键的数量显示不正确 HOT 4
- 自定义格式化 HOT 1
- 默认key集合的显示默认没有显示stream的key HOT 1
- Stream On Error: Connection is closed. HOT 3
- Node Info not proper under "Key Statistics" HOT 2
- 拖动排序失败 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anotherredisdesktopmanager.