Commit Graph

261 Commits

Author SHA1 Message Date
0beb97d67d Use qmark parametrization style for mysql query 2015-09-07 16:21:57 +02:00
773557a591 Use DictCursor ouf oursql to get better readability in MYSQL_RED_PAGE 2015-09-06 16:02:30 +02:00
d2dfa15ddf Implement a class RED_PAGE for handling redundance pages 2015-09-06 15:43:10 +02:00
28d9a26cf1 Always handle beginning and ending definitions via setter functions
Setter functions for beginning and ending decide wether it is a datetime object or a parseable timestamp string
2015-09-06 15:04:49 +02:00
122cc8b309 Set date attributes to none if nothing given, rather than don't set the attributes 2015-09-06 14:37:27 +02:00
72410d17b4 Expand __init__ Method of RED_FAM to catch beginning, end and status
Add a __repr__ Method to RED_FAM
2015-09-05 18:36:30 +02:00
10cfa79ee0 Implement a class/modul RED_FAM for handling redundance families 2015-09-05 18:06:17 +02:00
49def6f0f0 Implement a class MYSQL_RED_FAM as desecendant of MYSQL_RED for handling querys about red_families 2015-09-05 17:13:09 +02:00
f5ac6a06d3 Implement a class MYSQL_RED_PAGE as desecendant of MYSQL_RED for handling querys about red_pages 2015-09-05 17:10:55 +02:00
597df69275 Save mysqldb-connection as class atribute to make it usable for all decandant classes of MYSQL_RED 2015-09-05 17:09:01 +02:00
71b9d3301d Initial structure of MySQL-Module
Use class to use an object for all MySQL stuff
2015-09-04 22:19:06 +02:00