Commit Graph

696 Commits

Author SHA1 Message Date
Friedrich Lindenberg
354a51bf98 Add support for database views, fixes #235, fixes #267. 2020-01-11 16:46:04 +01:00
Friedrich Lindenberg
fc3af9e1f1 Fix memory leak, fixes #226. 2020-01-11 15:01:22 +01:00
Friedrich Lindenberg
71b9421d60 Document ensure_schema behaviour, fixes #225. 2020-01-11 14:38:21 +01:00
Friedrich Lindenberg
39385b7e0a Make has_column case insensitive, refs #270. 2020-01-11 14:31:51 +01:00
Friedrich Lindenberg
9b1f8ea649 Simplify 2020-01-11 14:31:07 +01:00
Friedrich Lindenberg
45ae60349c Remove use of six because its 2020 2020-01-11 14:06:57 +01:00
Friedrich Lindenberg
ce28a0d4e8 Pass through column arguments, fixes #233, #266. 2020-01-11 13:55:57 +01:00
Friedrich Lindenberg
e766fa25f0 Fix incorrect query generation, fixes #290. 2020-01-11 13:47:34 +01:00
Friedrich Lindenberg
d7f23933f1 Fix doc error, fixes #297. 2020-01-11 13:36:28 +01:00
Friedrich Lindenberg
d0c4e9fcc7 Implement method to close database connections, fixes #246. 2020-01-11 13:16:30 +01:00
Friedrich Lindenberg
00d2279abf Split _args_to_clause into two functions 2020-01-11 13:02:32 +01:00
Friedrich Lindenberg
5a93c61bf6
Merge pull request #302 from jsalsman/patch-2
allow for ilike clauses
2020-01-11 12:48:13 +01:00
Friedrich Lindenberg
bd70c2aa9e
Merge pull request #301 from abmyii/more_find_operators
Implement additional find operators (and relevant tests)
2020-01-11 12:43:29 +01:00
Friedrich Lindenberg
2b6352b65c Don't test Python 2.7 any more, use 3.8 throughout 2020-01-11 12:41:43 +01:00
Friedrich Lindenberg
5a09e72fd1 Fix error introduced in #305. 2020-01-11 12:37:50 +01:00
Friedrich Lindenberg
db3ef16566 pep8 2020-01-11 12:11:30 +01:00
Friedrich Lindenberg
901d6a99d9
Merge pull request #305 from abmyii/retain_columns_order
Use lists instead of sets to maintain order of column names
2020-01-11 11:51:45 +01:00
Friedrich Lindenberg
01834d65db
Merge pull request #307 from timgates42/bugfix/typo_accessed
Fix simple typo: acessed -> accessed
2020-01-11 11:51:15 +01:00
Tim Gates
ec4723e691
Fix simple typo: acessed -> accessed
Closes #306
2020-01-05 11:02:03 +11:00
Abdurrahmaan Iqbal
e2431bc344 Use lists instead of sets to maintain order of column names 2019-12-24 18:03:35 +00:00
James Salsman
800a0fa518
allow for ilike clauses
case-insensitive (sub)string matching
2019-10-14 00:03:01 -07:00
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
Friedrich Lindenberg
4c46cd2594
Merge pull request #277 from zachvalenta/patch-2
fix typos
2019-07-13 14:14:14 +02:00
Friedrich Lindenberg
2f264deed2
Merge pull request #285 from saimn/table-doc
Add missing methods in Table api doc
2019-07-13 14:13:44 +02:00
Abdurrahmaan Iqbal
19a73759ca Remove f-string for wider compatiblity 2019-07-09 09:50:36 +01:00
Abdurrahmaan Iqbal
6874889591 Fix logic error in insert_many 2019-07-09 09:45:18 +01:00
Abdurrahmaan Iqbal
82c6cdc990 Add whitespace around arithmetic operator so flake8 test passes 2019-07-09 09:41:21 +01:00
Abdurrahmaan Iqbal
7fd9241f25 Refactor input_many to remove duplicate code, fix some pep8 problems 2019-07-09 09:37:48 +01:00
Abdurrahmaan Iqbal
76b6165181 Speed up insert_many by sync columns before input, not on the go 2019-07-08 23:24:55 +01:00
Abdurrahmaan Iqbal
a9f3eb86b2 Add tests for new functions 2019-07-08 18:10:00 +01:00
Abdurrahmaan Iqbal
85d974b0c3 Refactor to remove duplicate code 2019-07-08 18:00:54 +01:00
Abdurrahmaan Iqbal
70874a2501 Implement update_many and upsert_many 2019-07-08 17:48:05 +01:00
conorreid
96f57f161a added tests for big int vs integer check 2019-06-21 11:49:01 -04:00
conorreid
7753d0610a bigint check 2019-06-21 11:45:44 -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
Stefan Wehrmeyer
90e60857a2 Add Python 3.7 to setup.py
Closes #287
2019-03-09 11:38:50 +01:00
Simon Conseil
918480138b Add missing methods in Table api doc 2019-02-15 15:04:16 +01:00
Andrey Alekseenko
25477717bc Fix bug when UPSERTing a column named 'id' 2019-02-14 22:35:47 -05:00
Friedrich Lindenberg
22b64ee480 Bump version: 1.1.1 → 1.1.2 2019-02-07 10:49:52 +01:00
Friedrich Lindenberg
bce5a614b2
Merge pull request #280 from remorses/removed-normality-package
removed unused package
2019-02-07 10:48:28 +01:00
Tommaso De Rossi
521bd66afd removed unused normality package from setup.py 2019-02-06 12:51:16 +01:00
Friedrich Lindenberg
53e72ef6a8 Bump version: 1.1.0 → 1.1.1 2019-01-31 18:38:30 +01:00
Friedrich Lindenberg
bc1ac231f3 fix actual test failure 2019-01-31 18:22:42 +01:00
Friedrich Lindenberg
75ff90554b set distro 2019-01-31 18:19:09 +01:00
Friedrich Lindenberg
8324350f2e Try to fix up tests, Python 3.8 warnings 2019-01-31 14:56:19 +01:00