kennethreitz
c23f577012
Merge pull request #180 from fritz-clicktripz/patch-1
...
DATABASE_URL from env
2019-08-20 00:06:01 -04:00
fritz-clicktripz
3ae59e78c5
Update records.py
...
Addresses issue https://github.com/kennethreitz/records/issues/179
2019-05-23 12:31:23 -04:00
kennethreitz
a9cd499c90
Update README.rst
2019-05-06 07:41:50 -04:00
Parth Shandilya
ecd857266c
Merge pull request #169 from TZubiri/patch-1
...
Typo in readme
2019-03-07 21:41:58 +05:30
Keelan Fadden-Hopper
9d1e1b8eed
Pass kwargs to get_table_names function
...
When using the `get_table_names` function, the function currently will not allow the user to pass in the `schema` argument. This means that, for instance, you can't get the table names for a PostgreSQL schema other than the default schema. This feature could be added quite easily.
2019-02-13 11:50:45 +00:00
TZubiri
b9cbe80aba
Typo in readme
2019-01-27 18:44:24 -03:00
kennethreitz
80ad70f07d
Update README.rst
v0.5.3
2018-09-17 08:13:13 -04:00
kennethreitz
f8197e7961
Update README.rst
2018-09-17 08:13:01 -04:00
Markus Kaiserswerth
48e2283172
Removed dependency on old SQLAlchemy (for Python 2.6)
...
The conditional dependency on SQLAlchemy is no longer required since
support for Python 2.6 was removed.
2018-06-25 12:15:35 +02:00
arokosaki
488197eaf9
remove cach and idea folders
2018-06-18 14:14:47 +03:00
arokosaki
d47f7b8d33
fix records.RecordCollection slicing bug
2018-06-17 23:56:06 +03:00
Jan Vlčinský
c5dfc013eb
Merge pull request #150 from vlcinsky/noomnijson
...
Require tablib>=0.11.4 to resolve #52
2018-04-28 22:49:20 +02:00
Jan Vlcinsky
e7bb914cd8
Require tablib>=0.11.4 to resolve #52
...
Given tablib version removed omnijson and uses stdlib one.
2018-04-28 22:47:42 +02:00
Jan Vlčinský
03759f11e9
Merge pull request #147 from vlcinsky/test_trans_refactor
...
tests/test_transactions.py refactored
2018-04-28 22:16:38 +02:00
Jan Vlčinský
37a1f72a22
Merge pull request #148 from mcdallas/db-one
...
Make .one() use .first() under the hood
2018-04-27 21:59:42 +02:00
mcdallas
abdeb7e8c8
reuse code from .first() in .one()
2018-04-27 14:44:35 +01:00
Jan Vlcinsky
069e530978
Added test case for issue #105
2018-04-27 00:06:58 +02:00
Jan Vlcinsky
2b436fb37f
Added test case for issue #69
2018-04-26 23:19:55 +02:00
Jan Vlcinsky
e2e73cbf5d
tests/test_transactions.py refactored
2018-04-26 22:47:11 +02:00
Jan Vlčinský
6b62ec881b
Merge pull request #146 from hugovk/rm-eol
...
Drop EOL Python 2.6 and 3.3
2018-04-26 17:34:50 +02:00
Hugo
59bb3c6da9
Use automatic formatters
2018-04-26 16:24:45 +03:00
Hugo
8e75acf23f
Remove EOL Python 2.6 and 3.3, add 3.6
2018-04-26 16:24:16 +03:00
Jan Vlčinský
6788aa1c09
Merge pull request #143 from vlcinsky/fix_xlsx
...
Fix xlsx: fix #142
2018-04-26 15:04:02 +02:00
Jan Vlčinský
74711d2d32
Merge pull request #140 from vlcinsky/travis
...
Travis (rebuilt to use tox). Fix #139
2018-04-26 15:03:06 +02:00
Jan Vlčinský
9cf67325e3
Merge pull request #138 from vlcinsky/tox
...
Tox
2018-04-26 15:02:29 +02:00
Jan Vlčinský
5e59c24c60
Merge pull request #136 from vlcinsky/write_bytes
...
Write bytes: fix #78 writing bytes under python3
2018-04-26 15:01:36 +02:00
Jan Vlčinský
eb59a8fe61
Merge pull request #135 from vlcinsky/missing_imports
...
Missing imports
2018-04-26 15:00:47 +02:00
Jan Vlčinský
edace4fa8c
Merge pull request #134 from vlcinsky/fix_133
...
CLI handling. Fix #133 , check <format> is supported one.
2018-04-26 14:59:34 +02:00
Jan Vlcinsky
a096d9a9b5
Fix #142 : failure to export to XLSX (downgrade openpyxl)
...
This fix shall be removed as soon as tablib gets the problem resolved.
2018-04-15 00:30:36 +02:00
Jan Vlcinsky
b064c3bd89
make add testall (tox), fix test (install --dev). Upd. Pipfile.*
2018-04-14 00:40:05 +02:00
Jan Vlcinsky
76afc6fd67
Removed support for python 2.6. Fix #141
2018-04-14 00:09:07 +02:00
Jan Vlcinsky
55fe42a4ae
Fix SQLAlchemy version for python 2.6
...
Tests revealed, that under python 2.6, only SQLAlchemy<1.1 is supported
2018-04-13 23:57:24 +02:00
Jan Vlcinsky
4d90d6d418
.travis requires tests under all python versions declared by setup.py
2018-04-13 23:41:10 +02:00
Jan Vlcinsky
61b2b68bd5
Remove utf-8 chars "..." from setup.py
2018-04-13 23:33:39 +02:00
Jan Vlcinsky
1f6cf5f644
.travis modified to use tox
2018-04-13 23:28:51 +02:00
Jan Vlcinsky
84ed3f1a55
Added tox.ini (for local tests only at the moment). Fix #137
2018-04-13 22:59:03 +02:00
Jan Vlcinsky
598af0df4a
Fix #78 : printing resulting bytes under python3
...
Binary outputs were printed as repr with b'abcde' instead as real bytes.
2018-04-13 22:33:53 +02:00
Jan Vlcinsky
fd5f379e45
Handle failures caused by missing package (required by db or format)
2018-04-12 22:17:39 +02:00
Jan Vlcinsky
d3ba8526b3
CLI handling. Fix #133 , check <format> is supported one.
2018-04-12 21:27:54 +02:00
kennethreitz
f2c5307d76
Merge pull request #127 from Tethik/first_one_pettyness
...
RecordCollection.first and RecordCollection.one
2018-02-15 18:06:25 -06:00
Joakim Uddholm
d5adf51cfe
More helpful error message for RecordCollection.one
2018-02-15 00:49:59 +01:00
Joakim Uddholm
de6f80e70b
First changed so that it doesn't check that it is the only row. Old behaviour is now in the new method 'one()' instead. 'scalar' uses old behaviour still
2018-02-15 00:42:07 +01:00
kennethreitz
fe0ed3199d
Merge pull request #119 from gdtroszak/proper-pooling
...
Properly handle SQLAlchemy connection pools
2018-02-13 07:39:42 -06:00
kennethreitz
76556f91c4
Merge pull request #126 from Tethik/master
...
Add scalar method
2018-02-13 07:38:22 -06:00
Joakim Uddholm
d1b76caaab
Add scalar method to RecordCollection
2018-02-11 17:33:39 +01:00
kennethreitz
cf131a971f
Merge pull request #118 from dschep/master
...
Raise an error if selecting column that exists more than once
2017-12-11 07:14:50 -05:00
kennethreitz
978a3fda37
Merge pull request #120 from rebornwwp/master
...
Fix multiple Single quotation mark error
2017-12-11 07:13:50 -05:00
wanpeng
b21aa145d1
Fix multiple Single quotation mark error
2017-12-11 20:11:40 +08:00
Greg Troszak
3d47e45f1e
Throw exception if db closed.
2017-12-09 13:14:59 -08:00
Greg Troszak
522199af20
Clean up.
2017-12-09 08:48:14 -08:00