805 Commits
Author SHA1 Message Date
niphlod 01fb85c693 mssql4 adapter enhancements
Given that mssql4 requires MSSQL2012, we can use newer types for data
without worrying about compatibility with older MSSQL versions
2014-06-03 23:36:08 +02:00
mdipierro ece00a8f52 fixed 1933:MongoDB adapter passes incorrect query, thanks Alan 2014-05-26 23:43:19 -05:00
mdipierro e66f201191 db(db.person).select().column('name'), thanks Anthony 2014-05-26 22:26:59 -05:00
Jeremie Dokime 84f88ed9db Fix IS_STRONG used with validate_and_update
Fix no error return with IS_STRONG validator because it returns a gluon.html.XML instead of str, so when pushed to response.errors that is a Row, it isn't display because Row object filters his output and doesn't support XML objects.
2014-05-16 16:14:14 +02:00
mdipierro 993cc16a25 syncing 2014-05-07 17:09:03 -05:00
BuhtigithuB 4ab3631f1c Fix wrong space insert in patch 2014-05-04 12:17:31 -04:00
BuhtigithuB 32ef767ed0 ley -> key 2014-05-04 12:12:18 -04:00
BuhtigithuB 377a69ced9 PEP8 improvements white space here and there
I search with regexp ",[^\s-]" to spot missing space after comma. I also, add double break line in front of function or class. I change a couple of comparator in order to add space in front and after " == " for instance.
2014-05-04 12:02:08 -04:00
mdipierro 8d648f6137 restore beahvior in gae that if no limitby, returns iterator 2014-03-31 00:19:04 -05:00
mdipierro 52b55889dd fixed the proble with count on GAE 2014-03-31 00:07:31 -05:00
mdipierro 0caae1f8d4 better support for google datastore 2014-03-30 23:36:51 -05:00
mdipierro 49f4e38658 db.define_table(...table_hash=...) to override hash in .table file, thanks dmvieira 2014-03-29 17:19:12 -05:00
mdipierro 338a4256ca Merge pull request #415 from niphlod/docs/dal
sphinx-compatible docstrings (and we're finished!!!!!)
2014-03-29 17:08:53 -05:00
mdipierro 267cd08af6 gae search not fecthed by key to ensure consistency, thanks Luca 2014-03-28 23:51:27 -05:00
niphlod 874abf67ae sphinx-compatible docstrings (and we're finished!!!!!) 2014-03-27 22:50:27 +01:00
mdipierro f8831b0bf3 Merge pull request #409 from ctdegroot/uploadfs
Modify Table class so that uploadfs is respected when uploads_in_blob is set to True
2014-03-20 18:00:43 -05:00
mdipierro 2b60a1cd49 support for geography types, thanks sunny 2014-03-20 11:14:25 -05:00
Chris DeGroot 9a92318d75 Modify Table class so that uploadfs is respected when uploads_in_blob is set to True 2014-03-19 23:43:58 -04:00
mdipierro 733fa01b7e fixed issue 1894:represent requires 2 arguments in dal.py, thanks mweissen 2014-03-09 17:22:39 -05:00
mdipierro 8a54001e11 Merge pull request #390 from dokime7/master
Fix DAL ADD method
2014-03-08 14:30:42 -06:00
Oscar Rodriguez d4d91fd003 dal.py: Table class: validate_and_update_or_insert method created 2014-03-07 16:22:09 +01:00
Jeremie Dokime 89c4efbac3 Fix DAL ADD method
Fix regression of ADD method:
NameError: global name 'gluon' is not defined
2014-03-06 17:56:11 +01:00
Oscar Rodriguez 3a5a34da0a dal.py: Table class: validate_and_update_or_insert method created, and minor changes in validate_and_update 2014-03-06 12:06:57 +01:00
Oscar Rodriguez 0b7f663d43 dal.py: Table class: validate_and_update_or_insert method created, and minor changes in validate_and_update 2014-03-05 19:46:19 +01:00
Oscar Rodriguez abd72f8df0 dal.py: Table class: validate_and_update_or_insert method created, and minor changes in validate_and_update 2014-03-05 17:44:56 +01:00
mdipierro 41fb55cb01 Merge pull request #381 from gitanoqevaporelmundoentero/master
dal.py: DAL: parse_as_rest: solved problem when displaying tables containing more than one PK
2014-02-19 08:50:51 -06:00
Oscar Rodriguez 65eb1e9cb7 DAL: parse_as_rest: solved problem when displaying tables containing more than one primary key 2014-02-18 16:27:55 +01:00
mdipierro 59b645c399 Merge pull request #379 from timrichardson/issues/1866
Issues/1866 (grid export): change csv export to use represent, no change to csv hidden cols or others.
2014-02-14 22:35:05 -06:00
mdipierro 134723a54b Merge pull request #378 from mcabo/patch-2
Update dal.py Table:validate_and_update
2014-02-14 22:34:10 -06:00
mdipierro c482fed2c9 Merge pull request #375 from gitanoqevaporelmundoentero/master
dal.py: BaseAdapter: insert: solved problem when creating new record wit...
2014-02-14 22:33:20 -06:00
mdipierro 19f8f6bf3c SQLCustomType endswith 2014-02-14 21:03:52 -06:00
Tim Richardson faeff098fe rows.export_to_csv_file assumes the function field.represent takes only one argument, which was causing a ticket with virtua fields 2014-02-15 07:52:43 +11:00
mcabo c810e4491a Update dal.py Table:validate_and_update
Validation has been fixed on validate_and_update method
2014-02-14 15:32:58 +01:00
Oscar Rodriguez edbf45e542 dal.py: BaseAdapter: insert: solved problem when creating new record without passing the primary key as argument 2014-02-14 11:20:29 +01:00
Oscar Rodriguez 55281650e2 dal.py: BaseAdapter: insert: solved problem when creating new record without passing the primary key as argument 2014-02-10 19:50:18 +01:00
Michele Comitini 310528ea10 added entity_quoting (False by default) parameter to DAL to optionally enable entity name quoting by adapters. 2014-01-28 17:45:15 +01:00
mdipierro 9d13d297cb improved Rows methods propagate parameters, thanks Anthony 2014-01-24 20:36:21 -06:00
niphlod 7d59bcab72 first steps to a cleaner DAL and rname integration 2014-01-13 23:35:42 +01:00
Alan Etkin f04cc69abe Remove illegal nosql command implementations 2014-01-11 09:51:10 -03:00
mdipierro c93ce5dbab reverted latest patch 2014-01-10 08:28:09 -06:00
Alan Etkin 20e2d9aa57 Added _insert for App Engine 2014-01-09 09:41:27 -03:00
Fran Boon d5f04551f2 Fix for orderby_on_limitby with Table aliases 2014-01-07 22:36:22 +00:00
mdipierro 7787317d06 fixed a problem with python version compatibility, thanks Anthony 2014-01-05 21:37:31 -06:00
mdipierro 76b3906ade fixed error message, thanks Anthony 2014-01-04 20:19:20 -06:00
mdipierro efcf8c0c95 fixed problem about excutesql(as_dict=True) and ambiguous column names, thanks Anthony 2014-01-03 22:00:02 -06:00
mdipierro 12bb4a8d93 removed 'if count > limits[1]-limits[0]:' in dal.py 2014-01-03 21:31:06 -06:00
mdipierro a4416bd11f fixed issue 1819:Datastore reconnect problem, thanks Alan 2013-12-17 16:40:44 -06:00
mdipierro 53a0718a78 fixed problem with lack of connector in NoSQL 2013-12-15 13:31:56 -06:00
niphlod 09c0069b43 fix mssql quoting issue, disabled some tests
Tests now pass on mssql. I think we need to agree on what's going on
with DAL, or we risk shipping a module with lots of changes that are
breaking backward compatibility. I'll start a thread on
web2py-developers
2013-12-15 15:06:42 +01:00
mdipierro 4aabf3c69c fixed typo, thanks User 2013-12-11 20:36:39 -06:00