This is a big update. Added some new features.
- classes
MetaSingletonandDataBasewas extracted into filedatabase.py - added
driverproperty forDataBaseclass - added processing special chars (like
+,/etc) fortableparameter - added type
listfortableparameter - added
DISTINCTforselect()method - added parameter
with_values=Trueforget_sql()method - added methods:
__str__()union()andunion_select()forUNIONandUNION ALLinSELECTqueriesexpects()andexcept_select()forEXCEPTinSELECTqueriesintersect()andintersect_select()forINTERSECTinSELECTquerieshas_error()insteadget_error()(in the next version)
- written unit test for all SQL methods
- README was separated for some files
- added
create_view()method (CREATE VIEW view_name AS SQL_SELECT) - added
drop_view()method (DROP VIEW view_name)