TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A “Write Less, Do More” DB Class Based on PDO [PHP]

4 点作者 resonantcore超过 10 年前

3 条评论

_lce0超过 10 年前
I just want to raise my concern about the security issues the current implementation provides. At a glance the <i>update</i> method provides a simple way to execute arbitrary SQL.<p>Please be aware
评论 #8817505 未加载
resonantcore超过 10 年前
TL;DR - it does everything PDO does (thanks to class inheritance) but also has some nice short-hand methods for getting jobs done quicker. DRY and KISS.
tckr超过 10 年前
Where are the tests?
评论 #8820449 未加载
评论 #8821616 未加载