Named Parameters for PreparedStatement
PreparedStatementで名前付きパラメタをエミュレートするラッパーの紹介。
名前付きパラメタってのは,こんなやつ。
select * from people where (first_name = :name or last_name = :name) and address = :address
「jDBIとかうらやましいなぁ」と思っていたので,ちょっと使う機会をうかがってみよう。:-)
PreparedStatementで名前付きパラメタをエミュレートするラッパーの紹介。
名前付きパラメタってのは,こんなやつ。
select * from people where (first_name = :name or last_name = :name) and address = :address
「jDBIとかうらやましいなぁ」と思っていたので,ちょっと使う機会をうかがってみよう。:-)