From d75cf6ca135357f857417a4c3df1ee39273bdf9b Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 25 Mar 2006 20:28:01 +0000 Subject: [PATCH] method add --- doc/build/content/datamapping.myt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/content/datamapping.myt b/doc/build/content/datamapping.myt index ef8f6ed01c..bd618054e9 100644 --- a/doc/build/content/datamapping.myt +++ b/doc/build/content/datamapping.myt @@ -65,7 +65,7 @@ UPDATE users SET user_name=:user_name userlist = User.mapper.select_by(user_id=12) -

There is also a full-blown "monkeypatch" function that creates a primary mapper, attaches the above mapper class property, and also the methods get, get_by, select, select_by, selectone, selectfirst, commit and delete:

+

There is also a full-blown "monkeypatch" function that creates a primary mapper, attaches the above mapper class property, and also the methods get, get_by, select, select_by, selectone, selectfirst, commit, expire, refresh, expunge and delete:

<&|formatting.myt:code&> # "assign" a mapper to the User class/users table assign_mapper(User, users) -- 2.47.2