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.
如何使用 Kohana 3.2 中的查询生成器获取类似“REPLACE INTO table ...”的代码。是实施还是我必须自己实施。
谢谢
QBuilder 没有REPLACE INTO特性,因为它不是标准的 SQL 查询。您可以使用以下方法创建查询DB::query():
REPLACE INTO
DB::query()
DB::query(NULL, 'replace into ...');