From 2bd1adf0e007d8024d3a8f0c038d94d93e9ed819 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 1 Nov 2012 13:57:28 +0000 Subject: better function naming --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 0d1771c..79f251b 100644 --- a/README +++ b/README @@ -88,10 +88,10 @@ Functions: $t = new Tablename($query) -- return a dbi object, executes optional select $t->select($query) -- read first result of (encoded) query into t. $t->iterate() -- advance to next result - $t->store($fields) -- Update a record (efficiently) or create it if missing $t->update($fields) -- update selected record from key=>value pairs $t->insert($fields) -- insert a new record from key=>value pairs $t->replace($fields) -- replace a new record from key=>value pairs + $t->smart_replace($fields) -- create a record or update efficiently if exists $t->delete($query) -- delete current record or those found by query $t->query($sqlquery) -- execute a raw SQL query on db connection $t = Tablename::get($id) -- return valid object loaded with record $id or null -- cgit v1.2.3