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.
propelでこの種類のステートメントを使用してSQLクエリを取得するにはどうすればよいですか?
$books = BookQuery::create() ->filterByTitle('War And Peace') ->find();
デバッグ目的でクエリをログに記録する必要があります
query ['SELECT book.* from `book` WHERE book.TITLE = War And Peace' ]
メソッドを使用できます$books->toString()。
$books->toString()