diff options
author | Urban Müller | 2012-11-01 13:57:28 +0000 |
---|---|---|
committer | Urban Müller | 2012-11-01 13:57:28 +0000 |
commit | 2bd1adf0e007d8024d3a8f0c038d94d93e9ed819 (patch) | |
tree | dcb389db07ec952aa83a53b57f6d26659bcbee27 /README | |
parent | 1dccb8ce3b85438401de8a43a18bfb3c7a0a3576 (diff) | |
download | itools-2bd1adf0e007d8024d3a8f0c038d94d93e9ed819.tar.gz itools-2bd1adf0e007d8024d3a8f0c038d94d93e9ed819.tar.bz2 itools-2bd1adf0e007d8024d3a8f0c038d94d93e9ed819.zip |
better function naming
Diffstat (limited to 'README')
-rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |