niphlod
7d59bcab72
first steps to a cleaner DAL and rname integration
2014-01-13 23:35:42 +01: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
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
niphlod
0f2b2daeab
fixed issue with ordereddict in python < 2.7, added rname support also for fields
2013-10-27 14:36:38 +01:00
niphlod
9f846dbe3c
fix for references, DAL tests pass also on MSSQL now
2013-10-21 12:09:47 -07:00
mdipierro
25148d06fe
reverted to rname
2013-10-20 16:48:22 -05:00
mdipierro
4870b197de
revering rname
2013-10-20 16:42:52 -05:00
niphlod
c9b0c4547a
add support for rname (meaning "real name") for table names
2013-10-18 00:09:32 +02:00
spametki
b5039a5a6e
Switched table definition order at test_dal.py
2013-09-01 19:16:45 -03:00
spametki
a634ff7954
Applied patch for issue 1639
2013-09-01 18:13:51 -03:00
niphlod
f5f6f365f9
added boilerplate to be able to run tests from anywhere. Added test for validate_and_insert too.
2013-08-25 18:35:29 +02:00
mdipierro
f0bcef14b0
reverted issue 1639:DAL, define_table and Field unpacked serialized attributes
2013-08-21 17:23:11 -05:00
mdipierro
f9940825a1
fixed issue 1639:DAL, define_table and Field unpacked serialized attributes, thanks Alan
2013-08-21 02:37:31 -05:00
Michele Comitini
a208e8cc9f
changed way to detect missing key since None is already a possible value
2013-07-21 16:42:14 +02:00
Tim Richardson
c3be2e5f8a
test case for the changes allowing a compute field to refer to an
...
earlier defined compute field
2013-06-21 11:20:17 +10:00
mdipierro
1383d13334
@db.table.add_method.name, thanks Vinicius
2013-05-03 22:15:01 -05:00
Michele Comitini
9bda793d46
orderby disabled where not needed
2013-04-13 00:03:43 +02:00
mdipierro
e2191175da
smarter CONTAINS and REPLACE
2013-04-03 09:50:28 -05:00
mdipierro
fcfa8aa917
added common_filter tests
2013-03-29 02:08:41 -05:00
Massimo
a8d1d5cfcf
upgraded fpdf, better tests, passes travis.ci tests, thanks Niphlod
2013-03-18 16:52:47 -05:00
mdipierro
c9a63a8524
fixed issue 1393, cast_keys in dict for python 2.5 support, thanks Alan and Niphlod
2013-03-17 12:11:10 -05:00
mdipierro
bfd385f969
travis badge in README, thanks niphlod
2013-03-15 15:12:01 -05:00
mdipierro
892471d8e5
fixed issue 1340, bugs in as_dict, thanks Alan
2013-02-17 09:49:44 -06:00
Massimo
50193471d6
better IS_NOT_IN_DB, new scheduler API, after_connection dal callback, thanks Niphlod
2013-02-14 14:15:27 -06:00
mdipierro
7ef19ecf47
allow a dict as uri, issue 1316, thanks Alan
2013-02-13 09:36:07 -06:00
Massimo
980aedf314
some cleanup patches, thanks Alan
2013-01-08 15:31:17 -06:00
mdipierro
90bcc9b08b
dal almost runs with python 3.3 but fails a test on 2.5
2012-10-23 11:30:02 -05:00
mdipierro
f99a1406bb
DAL is now a pickeable singleton
2012-09-29 22:33:18 -05:00
mdipierro
7afb5072c7
db.t.f.epoch(), thanks Niphlod
2012-09-14 15:51:58 -05:00
mdipierro
97bcdfd73a
fixed issue 964, thanks Jonathan
2012-09-09 09:20:45 -05:00
mdipierro
0534080b83
added caching tests and minor rewtite
2012-09-08 16:04:07 -05:00
mdipierro
3709dcedd2
fixed AttributeError: 'Expression' object has no attribute '_table' issue
2012-08-30 14:42:32 -05:00
mdipierro
341a35410d
better webclient.py
2012-08-29 21:57:09 -05:00
mdipierro
178925cd56
fixed problem with computed fields
2012-08-29 16:05:41 -05:00
mdipierro
9f8134a51b
fixed issue with row[db.table.field] for result of join, thanks Dominic
2012-08-28 14:26:49 -05:00
mdipierro
d16033a417
more tests about dal
2012-08-26 15:51:15 -05:00
mdipierro
2123e485d8
fixed import_from_csv_field and new tests, thanks Jonathan
2012-07-31 19:24:26 -05:00
Massimo Di Pierro
02e7f38da7
fixed a major problem with locking in languages, thanks Dan McGee fr the help
2012-02-29 13:38:59 -06:00
Massimo Di Pierro
d421c1321b
initial commit
2011-11-22 23:30:42 -06:00