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.
私はこのコードを持っています:
$room_chan = RoomChannelQuery::create() ->filterByChannel($hotel_channel->getChannel()) ->filterByRoom($res_room->getRoom()) ->findOneByIdCamera($res_room->getRoom()->getId());
php でクエリの実行を表示するにはどうすればよいですか?
前の投稿と次の投稿へのリンクを作成しようとしています。私が使用していない理由はwill_paginate、「前へ」というテキストではなく、投稿のタイトル(つまり、post.title)として使用したいからです。
will_paginate
これを行うために、私は別の答えに従い、投稿モデルに次の関係を作成しました。