Commit Graph

19 Commits

Author SHA1 Message Date
lakshyacis
6f35da4096
Imported packages sequencing and formatting 2020-01-30 12:14:40 +05:30
lakshyacis
e47b573b3e
helper_sql pylint fixes 2019-11-25 15:17:40 +05:30
lakshyacis
e97d02ed78
depends pylint fixes 2019-11-25 15:13:53 +05:30
lakshyacis
a9991a7a5a
class_sqlThread pylint fixes 2019-11-25 15:13:52 +05:30
341651973a
Reduced imports:
- exported from network package all objects used outside;
  - made all threads available in threads module.

Wrote some module docstrings.
2019-11-11 12:03:03 +02:00
coffeedogs
dd1ee618a5
Fixed: Simple Codacy errors and warnings in src/helper_*
* Some local pickle operations and non-cryptographic random operations
were marked as safe to the bandit linter
 * A bandit config file was added and assert warnings are now ignored globally
 * Tightened up exception handling and code style
2018-05-02 15:52:47 +01:00
Mahendra
4840b2db5c
add docstring for sqlQuery and sqlBulkExecute methrod in helper_sql and removed query method of sqlBulkExecute class 2018-04-07 19:20:29 +05:30
Mahendra
498557a6d6
Removed unused variable queryreturn from helper_sql 2018-04-07 13:18:58 +05:30
Mahendra
21922251e2
helper_sql formating 2018-04-07 12:59:09 +05:30
80fdb08f03
Made use of helper_sql.sqlExecuteChunked() in the on_action_MarkAllRead 2018-01-25 23:04:38 +02:00
48c0a2ae2e
Arithmetic fix for preceding commit 2017-11-30 19:42:49 +01:00
6ce3ce6b22
Chunking helper for sql statements with too many variables
- preparation for #1081
2017-11-30 19:39:31 +01:00
mailchuck
66824c32d1 sqlExecute now returns rowcount
This allows tracking of how many rows were changed, for example for
UPDATE, DELETE, INSERT.
2016-05-02 15:00:24 +02:00
mailchuck
6ad3c956c9 Allow SQL arguments as a list or tuple 2016-05-02 15:00:21 +02:00
Jonathan Warren
f64461feb0 fixes to new SQL refactoring 2013-09-02 23:14:43 -04:00
Jonathan Warren
ea3cf9e00e minor changes to previous commit 2013-09-02 18:24:22 -04:00
Grant T. Olson
8d8e43b1fc Added SqlBulkExecute class so we can update inventory without a million commits 2013-08-31 10:40:11 -04:00
Grant T. Olson
7499de4e13 have shared.py use helper_sql and move the sql queues and locks to helper_sql 2013-08-29 08:03:45 -04:00
Grant T. Olson
edf9101eae Move duplicated sql code into helper 2013-08-27 09:55:36 -04:00