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
mdipierro
69f9cf28df
fixed db(((db.table1.field1 + db.table1.field2)>4)).select(), thanks Boris
2013-12-11 20:33:24 -06:00
mdipierro
15dd46a91a
reverted grouping of joined tables
2013-12-09 21:28:26 -06:00
mdipierro
bbbee21b0d
DAL(...,adapter_args=dict(engine='MyISAM'))
2013-12-09 18:56:05 -06:00
mdipierro
cda7c66637
fixed bug in last commit, thanks User
2013-12-09 17:55:53 -06:00
mdipierro
53122bfa9f
possible implementation of st_dwithin, thanks User
2013-12-09 17:06:25 -06:00
mdipierro
85058bd847
fixed this issue http://stackoverflow.com/questions/20363043/web2py-dal-left-join-and-operator-precedence
2013-12-08 09:33:30 -06:00
mdipierro
46d630a2c0
ST_DWithin for postgres
2013-12-08 08:26:00 -06:00
mdipierro
1715b0c378
fixed 1807:Preserve quote template for NoSQLAdapter and subclasses, thanks Alan and Michele
2013-12-07 10:20:29 -06:00
mdipierro
3599863304
fixed 1801:error in DAL using MongoDB with 'list:reference <table>', thanks Alan
2013-12-07 10:18:33 -06:00
Michele Comitini
14bcad629e
quoting of tablenames and field names
...
fix for wrong sequence name quoting
fix for wrong sequence name quoting 2
reverted test to quoted rname
rname passed asis. freedom in table names and field names. Case sensitivity in field and table names
removed test of allowed char sequence in table and field names, there is no limit anymore
fixed some troubles with postgresql drop(). Better Row.__getitem__(): should not be much slower. Added a ignore_field_case parameter to allow Field('F')!=Field('f') on databases supporting case sesitivity.
different mysql drivers handled in quoting test.
improved handling of foreing keys
fix with quoted names in SQLTABLE. fix for ORDER BY
handle references on non "id" fields
check reference expression against table list first
2013-12-03 12:29:30 +01:00
mdipierro
16f9222847
Merge pull request #316 from anssih/fix/ndb-lists
...
Fix list types in GAE NDB after entity write
2013-12-02 19:41:26 -08:00