Commit Graph
21 Commits
Author SHA1 Message Date
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier 56eb3e283c Remove unused CONTEXT_CACHE_SIZE constant 2012-03-12 15:34:53 +01:00
Cédric Krier 62b8321101 Don't use LRUCache as context cache to allow to clean it
References to the cursor cache are kept on BrowseRecord, we must be sure that
this cache will be cleaned.

review272001
2012-03-12 15:33:43 +01:00
Cédric Krier 9e4d8baa6c Cursor cache must depend of the user
review90002
2011-08-22 19:12:19 +02:00
Cédric Krier 1ab6964687 Add readonly on Transaction
review80005
2011-08-21 11:05:51 +02:00
Cédric Krier 0f3ba1f69f Use RETURNING in INSERT if available
review21003
2011-08-21 10:20:23 +02:00
Cédric Krier 587567077f Add LRUDict to use as cache
issue2033
review31005
2011-06-14 11:44:26 +02:00
Cédric Krier cb63509356 Add MySQL backend 2010-02-25 16:43:04 +01:00
Cédric Krier 80ad687daf Raise NotImplementedError in interface class 2010-02-23 15:54:27 +01:00
Cédric Krier f4568e0cde Factorise code by adding get_cache function on Cursor. 2009-09-07 15:34:04 +02:00
Cédric Krier 3cf4f4a7e3 Add limit_clause function on cursor 2009-09-07 15:18:17 +02:00
Cédric Krier 768e98e26a Move BrowseRecord cache onto the cursor 2009-08-11 11:13:14 +02:00
Cédric Krier 92757863f3 Handle _sql_constraints when database doesn't 2009-07-30 17:02:42 +02:00
Cédric Krier f820d707f5 Remove _sequence on ModelSQL
Add nextid, setnextid, currid, lastid to have a generic way to handle sequence
Add has_lock function to be more database independant
2009-07-07 19:32:31 +02:00
Cédric Krier 83814d6193 Really close some cursors to not keep unused cursor in memory 2009-05-20 01:05:52 +02:00
Cédric Krier 1a10e5ffaa Fix warnings for python 2.6 for issue915 2009-04-08 17:55:24 +02:00
Cédric Krier b75d10cd20 Use a new pool for object
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00
Cédric Krier bb5d16ca3e Remove psycopg2 from server.py 2009-02-06 10:26:38 +01:00
Cédric Krier e6ee0854b2 Move dump and restore into specific backend 2009-02-05 16:44:38 +01:00
Cédric Krier f63aaa316d Remove sql_db and add database in backend 2009-02-04 15:29:28 +01:00