Skip to content

Commit 2e7edd2

Browse files
committed
refs #74 More cleanup
- improved SQLDriver so that more default methods will work for various databases. This was accomplished by adding quote_tabe(), quote_column() and quote_value() methods, as the largest difference between databases is between how the query strings are formatted. - moved delete_record() to be handled by the driver - started working on cleanup and documentation of the abstracted database concept
1 parent ffd6cb8 commit 2e7edd2

File tree

2 files changed

+163
-141
lines changed

2 files changed

+163
-141
lines changed

examples/journal_postgres.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[ss.selector('sel_journal','Journal',sg.Table,num_rows=10,headings=headings,visible_column_map=visible)],
1818
[ss.actions('act_journal','Journal')],
1919
[ss.record('Journal.entry_date')],
20-
#[ss.record('Journal.mood_id', sg.Combo, label='My mood:', size=(30,10), auto_size_text=False)],
20+
[ss.record('Journal.mood_id', sg.Combo, label='My mood:', size=(30,10), auto_size_text=False)],
2121
[ss.record('Journal.title')],
2222
[ss.record('Journal.entry', sg.MLine, size=(71,20))]
2323
]

0 commit comments

Comments
 (0)