Commit Graph
494 Commits
Author SHA1 Message Date
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 213a7ce857 Use introspection for table indexes. 2017-09-02 23:05:50 +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 17ef44485d Explicitly not that string types are unsupported. 2017-09-02 16:48:53 +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 2f0fa7cdd2 use root user 2017-09-02 09:01:30 +02:00
Friedrich Lindenberg 67e02ef021 try to simplify travis build 2017-09-02 08:56:53 +02:00
Friedrich Lindenberg 54dc192244 allow mixed-case column names, fixes #188 2017-09-02 08:39:52 +02:00
Friedrich Lindenberg f9d4113742 document connection pooling, fixes #211 2017-09-02 08:36:09 +02:00
Friedrich Lindenberg 348fdf3f94 Merge pull request #186 from paulfitz/create_column_by_example
add Table.create_column_by_example method
2017-09-02 08:22:49 +02:00
Friedrich Lindenberg edc41e4d82 Merge branch 'master' into create_column_by_example 2017-09-02 08:22:22 +02:00
Stefan Wehrmeyer a4601fdf15 Run nosetests in verbose mode on Travis 2017-05-16 17:02:53 +02:00
Stefan Wehrmeyer 7fe006b652 Add Python 3.6 to travis CI Matrix 2017-05-16 17:00:59 +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
Friedrich Lindenberg 5fd8b3ef3e up some version 2017-01-29 17:41:32 +01:00
Friedrich Lindenberg 77762266dd Simplify transactional logging code, fix deadlock situation. 2017-01-29 17:31:04 +01:00
Friedrich Lindenberg 522415a27c refactor query code to be simpler 2017-01-29 15:45:18 +01:00
Stefan Wehrmeyer fb4512783a Remove Python 2.6 classifier from setup.py 2016-12-16 12:07:37 +01:00
Friedrich Lindenberg bfcdc16101 Merge pull request #193 from joeschmid/master
Allow Date column type (in addition to existing DateTime type)
2016-12-07 09:35:37 +01:00
Joe Schmid c3158d7fe1 Allow Date column type (in addition to existing DateTime type) 2016-12-05 14:14:47 -05:00
Friedrich Lindenberg 49905493cb add missing commas 2016-11-21 08:51:35 +01:00
Friedrich Lindenberg 0754c73f81 up version 2016-11-21 08:48:37 +01:00
Friedrich Lindenberg 27af456be7 get over weird lint error 2016-11-21 08:47:41 +01:00
Friedrich Lindenberg 3f0eb9ac2f Merge pull request #190 from paulfurley/order-json-freeze-deterministically
Order JSON freeze fields deterministically
2016-11-21 08:45:52 +01:00
Paul M Furley 866713f110 Order JSON freeze fields deterministically
To avoid commits like [this
one](https://github.com/paulfurley/experimental-liverpool-planning-data/commit/f0599f87bcd0211b2cff977d008119b6aa267bea)
on Python 3
2016-11-21 07:30:43 +00: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 cd015d5e9a Reintroduce mysql to travis matrix 2016-10-15 23:29:13 +02:00
Stefan Wehrmeyer a075ff7708 Remove Python 3.6 from test matrix
Travis seems to struggle with installation
2016-10-15 23:20:05 +02:00
Stefan Wehrmeyer 4bb2338e13 Add Python 3.5, 3.6 to setup.py and travis 2016-10-15 23:16:24 +02:00
Stefan Wehrmeyer 797de5136b Clean up dependencies in setup.py 2016-10-15 23:16:08 +02:00
Stefan Wehrmeyer a92a315b60 Test behaviour of _step, assert it still retrieves all data 2016-10-15 22:55:50 +02:00
Friedrich Lindenberg f6e52db698 make universal wheels 2016-09-24 11:15:51 +02:00
Friedrich Lindenberg fa1ec13f03 up the version 2016-09-24 11:13:21 +02:00
Friedrich Lindenberg 5c04bd1e5d allow for **kwargs in create_index, refs #172. 2016-09-24 10:44:49 +02:00
Friedrich Lindenberg 2eaa3403ff Merge pull request #172 from jsvine/master
Let users pass `unique` boolean to .create_index
2016-09-24 10:41:07 +02:00
Friedrich Lindenberg b7c948c26c Merge pull request #173 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-09-22 17:57:33 +02:00
Friedrich Lindenberg 8032c66219 Merge pull request #179 from johnlpuc163/master
bug fix, make Table.drop_column be aware of table schema
2016-09-22 17:57:16 +02:00
Friedrich Lindenberg 2928ba4f39 Merge pull request #180 from arturhoo/patch-1
Fix typo on #create_column
2016-09-22 17:56:51 +02:00
Friedrich Lindenberg 8177dfd99a Merge pull request #182 from FlorentDotMe/master
import decimal module
2016-08-17 16:12:59 +02:00
Florent Bervas 458d086db5 import decimal module 2016-08-10 14:20:06 +02:00
Friedrich Lindenberg f5c6f2145e Merge pull request #181 from FlorentDotMe/master
handle Decimal class as a string to avoid "null" as returned value
2016-08-09 19:32:04 +03:00