Cédric Krier
fc6c6cfdda
Migration to python-sql
...
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method
review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Nicolas Évrard
584d516067
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 17:52:36 +01:00
Cédric Krier
852f04dc51
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:16:15 +02:00
Cédric Krier
51678f43e9
Fix column_rename of SQLite backend for issue1832
2011-04-21 18:58:18 +02:00
Cédric Krier
b5c86fbbcd
Add AUTOINCREMENT to sqlite primary key for issue1748
2010-11-07 16:50:59 +01:00
Cédric Krier
df1fd283ac
New transaction management
...
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier
b5fb4d1ef3
Refactoring by validation with pylint
2010-02-18 18:50:35 +01:00
Cédric Krier
e86ab8a32a
Fix typo in logging message
2010-01-12 13:15:48 +01:00
Cédric Krier
1a8c6f2213
Add comment on table and field for postgresql backend
2010-01-11 12:32:50 +01:00
Cédric Krier
d3b3cd41f2
Add test is column_name is in _columns when testing field type for issue1194
...
add_raw_column is used in _update_history_table and column_name can any more
exist or not yet instanciate in the Model
2009-09-28 11:58:52 +02:00
Bertrand Chenal
7834e3849a
Handle sequence and history renaming when renaming table
2009-09-16 14:47:06 +02:00
Bertrand Chenal
36efc47a44
Allow to drop constraint, index and foreign key with custom table name
2009-09-10 14:19:10 +02:00
Bertrand Chenal
fd3493ec06
Added column renaming on db backends
2009-09-10 14:09:59 +02:00
Cédric Krier
45914073bf
Use faster join implementation:
...
- use generator when possible
- use tuple __mul__
2009-08-26 15:39:53 +02:00
Cédric Krier
0de3f616df
Process remove action if field is in any module
2009-08-04 16:59:47 +02:00
Cédric Krier
23c5eff184
Add sqlite backend
2009-07-07 19:35:44 +02:00