Commit Graph

121 Commits

Author SHA1 Message Date
Abdurrahmaan Iqbal
d8cf515ffe Implement additional find operators (and relevant tests) 2019-08-08 12:55:29 +01:00
Friedrich Lindenberg
43e9431865
Merge pull request #296 from conorreid/bigint_check
Add support for BigInteger
2019-07-14 17:58:43 +02:00
conorreid
8409c40645 switch all ints to bigints 2019-07-13 10:42:20 -04:00
Friedrich Lindenberg
081cb5ec7a
Merge pull request #298 from abmyii/master
Implement update_many, upsert_many and refactor for a 2x speed-up of insert_many
2019-07-13 14:47:04 +02:00
Friedrich Lindenberg
6baff6fa34
Merge pull request #284 from al42and/upsert_id
Fix bug when UPSERTing a column named 'id'
2019-07-13 14:28:32 +02:00
Abdurrahmaan Iqbal
82c6cdc990 Add whitespace around arithmetic operator so flake8 test passes 2019-07-09 09:41:21 +01:00
Abdurrahmaan Iqbal
a9f3eb86b2 Add tests for new functions 2019-07-08 18:10:00 +01:00
conorreid
96f57f161a added tests for big int vs integer check 2019-06-21 11:49:01 -04:00
Stefan Wehrmeyer
a008d120c7 Fix WS 2019-03-09 11:39:25 +01:00
Stefan Wehrmeyer
046f3434ff Remove polyfill for Python < 2.7 2019-03-09 11:39:00 +01:00
Andrey Alekseenko
25477717bc Fix bug when UPSERTing a column named 'id' 2019-02-14 22:35:47 -05:00
Friedrich Lindenberg
8324350f2e Try to fix up tests, Python 3.8 warnings 2019-01-31 14:56:19 +01:00
Simon Conseil
c69827de7c Add support for advanced queries in distinct
Fix #263
2018-09-26 17:36:09 +02:00
Unknown
f9bb652034 add find operators 2018-06-13 02:29:32 +02:00
Friedrich Lindenberg
2cf9da068a fix flake8 complaints 2017-12-05 17:21:08 +01:00
Friedrich Lindenberg
8226e51408 option for streamed responses. 2017-12-04 23:22:08 +01:00
Stefan Wehrmeyer
e9aa9298f0 Drop unicode prefix 2017-09-29 14:10:17 +02:00
Friedrich Lindenberg
b8598b230a Rename test, refs #217. 2017-09-09 18:37:37 +02:00
Friedrich Lindenberg
fc59bc59e6 Fix up imports, refs #217. 2017-09-09 18:34:32 +02:00
Friedrich Lindenberg
a049691749 Remove datafreeze component, fixes #217 2017-09-09 18:24:34 +02:00
Friedrich Lindenberg
4232606d27 Move to a model where the table is created lazily, with an initial set of columns 2017-09-03 23:23:57 +02:00
Friedrich Lindenberg
e30cf24195 Rewrite data change functions on table. 2017-09-03 10:05:17 +02:00
Friedrich Lindenberg
37d7f47d39 Make table instances singleton-ish. 2017-09-02 22:35:29 +02:00
Friedrich Lindenberg
bf17deeb7f forgot a print statement 2017-09-02 20:40:52 +02:00
Friedrich Lindenberg
13cbff37fe Fix postgres errors. 2017-09-02 20:33:11 +02:00
Friedrich Lindenberg
a2748b7fde Reduce dependence on internal metadata caching, refs #208. 2017-09-02 19:35:01 +02:00
Friedrich Lindenberg
672b0bc8c4 test fixes 2017-09-02 17:31:05 +02:00
Friedrich Lindenberg
47cdf52323 fix mysql issue, test no-column table. 2017-09-02 17:25:52 +02:00
Friedrich Lindenberg
cc7787036b still more cases of using the engine and not the executable in transaction 2017-09-02 17:17:24 +02:00
Friedrich Lindenberg
a4c73a8fb8 Begin implementing a types handler instead of using plain text types.
this is potentially BREAKING scripts which use the string syntax.
2017-09-02 16:47:04 +02:00
Friedrich Lindenberg
edc41e4d82 Merge branch 'master' into create_column_by_example 2017-09-02 08:22:22 +02:00
Stefan Wehrmeyer
ffe7beae12 Make test read nicer 2017-05-16 16:59:18 +02:00
Stefan Wehrmeyer
3f330df20f Check for clauses and filters in delete
Guard against wrong API use before dropping all data
2017-05-16 16:57:07 +02:00
Paul Fitzpatrick
94bc6e09c0 add Table.create_column_by_example method
This adds a method to create a column by giving an example of
the data it will contain rather than by specifying its
SQLAlchemy type.  This extends the range of operations that
can be performed without reading the SQLAlchemy docs.
2016-10-26 09:29:55 -04:00
Stefan Wehrmeyer
6fc8bfed51 Skip invalid values test on mysql 2016-10-17 15:16:13 +02:00
Stefan Wehrmeyer
a92a315b60 Test behaviour of _step, assert it still retrieves all data 2016-10-15 22:55:50 +02:00
Saun Shewanown
c1e82bb9ae Added insert_ignore and changed upsert. 2016-04-22 11:35:14 -04:00
ryneeverett
1565fe5fe2 Implement comparison operators. Resolve #128. 2016-03-24 17:57:26 -05:00
Friedrich Lindenberg
771509a05b try nose 2016-02-14 11:05:46 +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
b393ebb54a Merge pull request #132 from mgaitan/fix_drop_column
drop_column fails with sqlite
2016-01-18 11:09:05 +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
47917c6867 Add failing test case for table drop 2016-01-14 21:40:53 +01:00
Martín Gaitán
f6336e1808 test to reproduce the bug 2015-06-25 19:53:43 -03:00
Friedrich Lindenberg
0c04f647b2 re-introduce relative imports to unbork python 3. 2015-06-08 10:54:46 +02:00
Friedrich Lindenberg
085817b844 fix previous fix. hello monday morning 2015-06-08 10:13:48 +02:00
Friedrich Lindenberg
1d8928e4a0 Add facility to run tests directly, fixes #129. 2015-06-08 10:04:30 +02:00