summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2010-09-16 00:19:53 +0100
committerJamie Matthews <[email protected]>2010-09-16 00:19:53 +0100
commit94a63bfab8a02cd31a1705a32455a7ce17da1f0d (patch)
tree08da1a4e2256651cb7e48218bc0190a388b0b369 /idiorm.php
parent5c59aa72dc5403bf3df900e5c29e8b8620d1b98a (diff)
Add where_not_like method, docs and test
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/idiorm.php b/idiorm.php
index a2b9e46..b79c230 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -340,6 +340,13 @@
}
/**
+ * 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
*/
public function where_gt($column_name, $value) {