Z3c.sqlalchemy

Latest version: v2.1.1

Safety actively analyzes 688896 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 9

0.1.9

------------------

- base.py: the 'model' parameter can now also be a callable
returning an instance of model.Model

- base.py: calling a model provider or a method providing a
model with a BoundMetaData instance in order to allow
table auto-loading

- Model.add() got a new parameter 'primary_key' in order to specify a
primary_key hint. This is useful when you are trying to auto-load a view
as Table() having no primary key information. The 'primary_key' parameter is
either None or a sequence of column names.

0.1.8

------------------

- added shorter method names as aliases

- don't generate a new mapper class if a custom mapper
class is defined within the model

0.1.7

------------------

- replaced 'echo' parameter of the constructor with a generic keyword
parameter in order to provide full parameter support for
create_engine. Optional arguments passed to the constructur are
passed directly to create_engine()

- fixed the documentation a bit

- added registerMapper() to BaseWrapper class

- registerSQLAlchemyWrapper() now defers the registration until
the Wrapper is used first when calling getSQLAlchemyWrapper()

- the 'name' parameter of Model.add() now supports schemas (if
available). E.g. when using Postgres you can reference as
table within a different schema through '<schema>.<tablename>'.

- Model.add() accepts a new optional parameter 'table_name' that
can be used to specify the name of a table (including schema
information) when you want to use the 'name' parameter as
an alias for the related table/mapper.

0.1.6

------------------

- fixed a bug in registerSQLAlchemyWrapper

0.1.5

------------------

- registerSQLAlchemyWrapper() should now work with Zope 2.8-2.10

- abort() was defined twice inside the DataManager class

0.1.4

------------------

- the Model class now behave (where needed) as a sorted
dictionary. Its items() method must returned all items
in insertion order.

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.