Paul Morelle
|
32257f96ff
|
Remove specific params from ds.freeze() signature
Add documentation to retrieve them more easily.
References pudo/dataset#150
|
2016-01-18 23:13:25 +01:00 |
|
Friedrich Lindenberg
|
91d587849d
|
merge
|
2016-01-18 11:19:13 +01:00 |
|
Friedrich Lindenberg
|
4f00db572f
|
work around a bunch of bugs;
|
2016-01-18 11:14:30 +01:00 |
|
Friedrich Lindenberg
|
ef2ce6387f
|
keep tables only in memory.
|
2016-01-18 11:07:24 +01:00 |
|
Friedrich Lindenberg
|
bd3a19ebc4
|
Fix python 2 support for StringIO.
|
2016-01-18 10:56:35 +01:00 |
|
Paul Morelle
|
998a712242
|
When wrap is False, don't wrap JSON result
Test and solution for issue pudo/dataset#149
|
2016-01-18 05:59:07 +01:00 |
|
Paul Morelle
|
18bd08c009
|
dataset.freeze should not close provided fileobj
Test and solution for issue pudo/dataset#147
|
2016-01-18 05:11:24 +01:00 |
|
Stefan Wehrmeyer
|
d16f1df8cd
|
Don't call fetch on closed result proxy
"The DBAPI cursor will be closed by the ResultProxy when all of its result rows (if any) are exhausted"
See http://docs.sqlalchemy.org/en/latest/core/connections.html
|
2015-12-20 13:15:39 +01:00 |
|
Di Wu
|
b8980221cd
|
fix infinite recursion
|
2015-12-20 13:49:07 +08:00 |
|
Stefan Wehrmeyer
|
0f7e7dc73c
|
Flake8 cleanup
|
2015-12-19 21:43:51 +01:00 |
|
Di Wu
|
6f4f0313a8
|
Use fetchmany to prevent huge tables from being loaded into memory at once.
|
2015-12-13 20:51:14 +08:00 |
|
Friedrich Lindenberg
|
93162ac6fc
|
add schema hint to create_column, refs #78 (thanks @smnorris)
|
2015-08-07 12:18:50 +02:00 |
|
VÃctor Guzmán
|
b2dc8a3315
|
release lock in table.py
|
2015-07-07 21:04:44 +02:00 |
|
Friedrich Lindenberg
|
61b33d9d4f
|
Use sha1 to generate index IDs.
|
2015-06-11 11:54:04 +02:00 |
|
Friedrich Lindenberg
|
0c04f647b2
|
re-introduce relative imports to unbork python 3.
|
2015-06-08 10:54:46 +02:00 |
|
Friedrich Lindenberg
|
56d5b232d8
|
Include support for custom result row types, fixes #41.
|
2015-05-23 16:15:17 +02:00 |
|
Friedrich Lindenberg
|
7f7cb41858
|
Handle column name validation more coherently, fixes #45.
|
2015-05-23 15:30:19 +02:00 |
|
Friedrich Lindenberg
|
fd3d9f326c
|
Cannot recall why this is using NullPool, hence removing to fix #65.
|
2015-05-23 15:15:00 +02:00 |
|
Friedrich Lindenberg
|
a0eab8876e
|
Remove space.
|
2015-05-23 13:41:08 +02:00 |
|
Friedrich Lindenberg
|
819c37d61d
|
Make __getitem__ an alias for distinct(). Fixes #87.
|
2015-05-23 13:01:36 +02:00 |
|
Friedrich Lindenberg
|
5e5d69457e
|
Add a program name to argparse.
|
2015-05-23 13:01:01 +02:00 |
|
Friedrich Lindenberg
|
43453415c0
|
wat
|
2015-05-21 23:47:46 +02:00 |
|
Friedrich Lindenberg
|
537557285d
|
Change signature of .upsert and .update on table according to: fixes #43.
|
2015-05-21 23:38:14 +02:00 |
|
Friedrich Lindenberg
|
edef86126f
|
Connect to an in-memory sqlite if no database is specified.
|
2015-05-21 23:37:37 +02:00 |
|
Friedrich Lindenberg
|
19cc76dd60
|
Don’t allow dots in column names, fixes #86.
|
2015-05-21 23:21:47 +02:00 |
|
Friedrich Lindenberg
|
a95c7be33b
|
pass schema into table constructors.
|
2015-05-21 22:07:03 +02:00 |
|
Friedrich Lindenberg
|
e662d8bde7
|
Support for properly returning a query count.
|
2015-05-21 18:05:26 +02:00 |
|
Friedrich Lindenberg
|
5dad532478
|
Clean up imports.
|
2015-05-21 17:40:57 +02:00 |
|
Friedrich Lindenberg
|
3afcfb3b81
|
Introduce some sanity checking on table names, fixes #89.
|
2015-05-21 17:38:06 +02:00 |
|
Friedrich Lindenberg
|
e9aec72bac
|
Slurp result proxy in one go so the query doesn’t remain open. Fixes #15.
|
2015-05-21 17:17:14 +02:00 |
|
Friedrich Lindenberg
|
9361c8ef9d
|
Remove datetime fix code.
|
2015-05-21 16:52:15 +02:00 |
|
Friedrich Lindenberg
|
55c33cbc71
|
Remove now-invalid import.
|
2015-05-21 16:52:03 +02:00 |
|
Friedrich Lindenberg
|
c605841390
|
Switch to normality for slugs
|
2015-05-21 16:51:57 +02:00 |
|
Friedrich Lindenberg
|
01f85c11b9
|
Rename reflectMetadata to reflect_metadata, remove SQLite datetime fix.
|
2015-05-21 16:48:28 +02:00 |
|
Friedrich Lindenberg
|
d3473fc4a6
|
Include tests from PR, fixes #105.
|
2015-05-21 16:47:36 +02:00 |
|
Simon Conseil
|
24e53b6807
|
Make Travis happy.
|
2015-02-18 16:48:46 +01:00 |
|
Simon Conseil
|
d5a419cbe0
|
Reflect views.
Currently views does not appear in the list of tables, this allows to add views.
|
2015-02-18 16:47:10 +01:00 |
|
Friedrich Lindenberg
|
e5c1aa31b4
|
handle date.isoformat separately, refs #117
|
2015-01-23 13:14:08 +01:00 |
|
Friedrich Lindenberg
|
bdcd371b5a
|
Convert plain text queries to SQL to allow argument escaping.
Bump 0.5.6, refs #115.
|
2015-01-18 13:39:30 +01:00 |
|
Friedrich Lindenberg
|
18bd02419a
|
better comment
|
2015-01-18 10:53:58 +01:00 |
|
Alexei
|
7bec815714
|
Document insert()'s return.
|
2015-01-07 09:06:34 -05:00 |
|
Stefan Wehrmeyer
|
79d2145202
|
Make find_one behave more like find
|
2015-01-06 21:44:59 +01:00 |
|
xrotwang
|
d58e3ec691
|
extended test coverage for the freeze package, thereby fixing some bugs.
|
2014-11-06 14:09:52 +01:00 |
|
xrotwang
|
5b7908893d
|
make dataset.freeze.config compatible with python3
|
2014-11-06 11:08:07 +01:00 |
|
xrotwang
|
4bf19159c6
|
Merge remote-tracking branch 'upstream/master'
|
2014-11-06 10:13:04 +01:00 |
|
aniversarioperu
|
036739589a
|
Fixing typo in docstring for query
The SQLAlchemy link was pointing to a dead link.
|
2014-10-05 11:51:18 +03:00 |
|
aniversarioperu
|
1e82be8fd0
|
fixed code and test for Python3
|
2014-09-04 07:02:27 +03:00 |
|
Thomas Levine
|
17bad827ae
|
add __contains__
|
2014-08-29 18:12:25 +00:00 |
|
Chenguang Zhang
|
a8b2f1ad73
|
Add more instructions for engine_kwargs, to avoid DB connection timeout issues
|
2014-08-07 16:47:50 +08:00 |
|
Tyler Kennedy
|
91c985b3e8
|
Update database.py
Inverted logic means _release_internal will always fail on a rollback. Fixed and simplified.
|
2014-07-31 11:07:09 -04:00 |
|