This domain may be for sale!
Symfony で直SQL発行するには割りと簡単で Propel::getConnection()でコネクションをとってきて、prepareStatement()で準備して、executeQuery()すればよい。(なぜかpreparedStatementじゃないのが気になります。) $query の「?」に具体的な値を入れるにはsetInteger()/setString()です。第一引数の1/2ってのが、何番目の「?」に値を入れるか。ってことだと思われます。試したらそんな感じでしたので。やりたいことはできたー。ちょっとコードが長いのが難点。 $con = Propel::getConnection(); $query = "SELECT * FROM table_a WHERE table_a.column_str = ? AND table_a.column_int = ?"; $i
Services Platform.sh for Symfony Best platform to deploy Symfony apps SymfonyInsight Automatic quality checks for your apps Symfony Certification Prove your knowledge and boost your career SensioLabs Professional services to help you with Symfony Blackfire Profile and monitor performance of your apps
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く