← 記事一覧へ

DEV

fuelphp - Like検索

ORMでLIKE検索するのは、下記のようにする。

$options = array(
'where' => array(
array('name', 'LIKE', "%$name%")
)
);

記事一覧へ戻る