Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
naelyn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
naelyn
13y ago
> I suspect most users copy/paste anyway. Some forms disable the paste action in the second box to force you to type it again (to avoid copying an error).
2.
▲
by
naelyn
14y ago
github: naelyn
3.
▲
by
naelyn
14y ago
Coupling queries to the database (stored procedures) instead of to the code that uses them (inlined queries) seems like a recipe for deployment headaches. Especially if you're deploying new code (with new queries) every 2-4 days without do
4.
▲
by
naelyn
14y ago
So you're recommending writing a stored procedure for this? SELECT COUNT(*) FROM tblposts
5.
▲
by
naelyn
14y ago
I don't agree with prefixing tables with "tbl" to distinguish them from views, but I do agree with the general notion of using the prefix for any "table-like" entity in a database. If you work with a growing codebase that slowly falls into