Commit graph

13 commits

Author SHA1 Message Date
Benjamin Renard
6ccea48b23
Db: allow to specify a list as a WHERE clause value and they will be combined as a IN clause
Some checks failed
Run tests / tests (push) Failing after 1m22s
2024-10-14 19:03:37 +02:00
Benjamin Renard
371d194728
PgDB: fix doSelect() method to retreive list of dicts instead of list of lists. 2023-12-15 12:12:48 +01:00
Benjamin Renard
dcaec24ea4
PgDB / MyDB / OracleDB: add limit parameter to select() method 2023-12-15 11:35:43 +01:00
Benjamin Renard
8a0a65465d
Update pre-commit config and fix some pylint & bandit warnings 2023-10-27 13:35:59 +02:00
Benjamin Renard
62c3fadf96 Introduce pyupgrade,isort,black and configure pre-commit hooks to run all testing tools before commit
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-16 12:56:12 +01:00
b0fd2b1c6d Code cleaning 2023-01-06 22:18:18 +01:00
815081d544 PgDB: Fix tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-06 21:10:25 +01:00
Benjamin Renard
ad04357c6b Code cleaning 2023-01-06 19:38:32 +01:00
Benjamin Renard
c77f9e5674 PgSQL: fix quoting table name with schema prefix 2021-11-07 21:57:00 +01:00
Benjamin Renard
6b825813c1 PgSQL: code cleaning 2021-11-07 21:37:18 +01:00
Benjamin Renard
439a1e9b33 tests: fix some pylint warnings & errors 2021-11-03 17:06:37 +01:00
Benjamin Renard
9d611284ef PgDB._add_where_clauses: Fix handling fields already in params 2021-11-03 17:04:58 +01:00
Benjamin Renard
afe54819bb Improve PgDB class and add unit tests 2021-10-06 21:33:25 +02:00