summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorUrban Müller2012-11-01 13:57:28 +0000
committerUrban Müller2012-11-01 13:57:28 +0000
commit2bd1adf0e007d8024d3a8f0c038d94d93e9ed819 (patch)
treedcb389db07ec952aa83a53b57f6d26659bcbee27 /README
parent1dccb8ce3b85438401de8a43a18bfb3c7a0a3576 (diff)
downloaditools-2bd1adf0e007d8024d3a8f0c038d94d93e9ed819.tar.gz
itools-2bd1adf0e007d8024d3a8f0c038d94d93e9ed819.tar.bz2
itools-2bd1adf0e007d8024d3a8f0c038d94d93e9ed819.zip
better function naming
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
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