Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这是防止 sql 注入的最佳方法,但我读到准备好的语句使对数据库的请求加倍。这对性能不利。
那么尽管如此,准备好的陈述是否被认为是最佳实践?还是有更好更安全的方法?