Home
Sign Up
Sign In
V2EX
›
PHP
生成年&月&日&i+1 这样的编号,能有避免读数据库的方法么?
Mac
·
Sep 22, 2014
· 2961 views
This topic created in 4277 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
·
939 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms ·
UTC 20:57
·
PVG 04:57
·
LAX 13:57
·
JFK 16:57
♥ Do have faith in what you're doing.
❯