Skip to content

pysimplesql v2.0 is here

Compare
Choose a tag to compare
@PySimpleSQL PySimpleSQL released this 15 Sep 17:34
· 881 commits to master since this release

<v2.0>

Released <9/15/2022>

  • Big change, moving from a Database/Table topology to a Form/Query topology. Aliases for Database/Table will be available to avoid breaking code as much as possible.
    I had to kick this around quite a bit, and in the end the new topology makes more sense, especially when you get into using multiple Forms and Queries against the same tables.
  • The above being said, the way records are created is chaging slightly, as well as how the Form is bound to the Window.
  • By default, auto-generated queries have the same name as the underlying table
  • Tons of documentation improvements
  • Prompt saves when dirty records are present. This will also be an option for Query object so that the feature can be turned on and off.
  • Forms and Queries now track created instances. They can be accessed with Form.instances and Query.instances
  • pysimplesql.update_elements() master function will update elements for all forms. Form.update_elements() still remains, and only updates elements for that specific Form instance.
  • pysimplesql.process_events() master function will process events for all forms. Form.process_events() still remains, and only processes events for that specific Form instance.
  • Examples and tutorials updated to work with new changes