From 94a63bfab8a02cd31a1705a32455a7ce17da1f0d Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Thu, 16 Sep 2010 00:19:53 +0100 Subject: Add where_not_like method, docs and test --- idiorm.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'idiorm.php') diff --git a/idiorm.php b/idiorm.php index a2b9e46..b79c230 100644 --- a/idiorm.php +++ b/idiorm.php @@ -339,6 +339,13 @@ return $this->add_where($column_name, 'LIKE', $value); } + /** + * Add where WHERE ... NOT LIKE clause to your query. + */ + public function where_not_like($column_name, $value) { + return $this->add_where($column_name, 'NOT LIKE', $value); + } + /** * Add a WHERE ... > clause to your query */ -- cgit v1.2.3