Home
Sign Up
Sign In
V2EX
›
PHP
生成年&月&日&i+1 这样的编号,能有避免读数据库的方法么?
Mac
·
Sep 22, 2014
· 3042 views
This topic created in 4329 days ago, the information mentioned may be changed or developed.
目前的方案是读最近一条记录然后截取最后几位数。总觉得有点浪费资源。
i+1
截取
数据库
1 replies
•
2014-09-23 15:15:09 +08:00
1
withinthefog
Sep 23, 2014
redis的incrby
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4115 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms ·
UTC 00:58
·
PVG 08:58
·
LAX 17:58
·
JFK 20:58
♥ Do have faith in what you're doing.
❯