Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


PostgreSQL 实现历史上的今天

PostgreSQL 大约 144 字

需求

博客中需要展示一个同月同日发布的文章列表功能。

实现

其中create_tstimestamptz类型。

select * from post where to_char(create_ts, 'MM-dd') = to_char(current_date, 'MM-dd');
阅读 79 · 发布于 2023-11-09

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

扫描下方二维码关注公众号和小程序↓↓↓

扫描二维码关注我
昵称:
随便看看 换一批