For Future For You
Redis Redis
Redis五大基本类型String# 移动数据到0号数据库 move key 0 # 查看过期时间 ttl key # 设置值,NX:当没有值时设置,XX:当有值时设置,get:先返回原来的值然后再重新设置值,ex:设置过期时间second
2024-03-24
MySql高级 MySql高级
MySql使用表字段操作-- 修改字段 alter table table_name modify[add] [column] field_name int not null default 0; -- 修改字段名 alter table
2023-11-24