Mosql

Latest version: v0.12.3

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

Scan your dependencies

Page 5 of 6

0.2

Not secure
----

.. note::
The versions after v0.2 are a new branch and it does **not** provide
backward-compatibility for v0.1.x.

1. The :mod:`mosql.result` is totally rewritten, and does **not** provide the
backward-compatibility. See the doc for more info.
2. The :mod:`mosql.common` is renamed as :mod:`mosql.build`.
3. The :mod:`mosql.ext` is removed.
4. The :func:`mosql.build.insert` uses `set` instead of `pairs_or_columns`.
5. The :func:`mosql.build.insert` supports "on duplicate key update" now.
6. The :mod:`mosql.select` uses `*` if user pass ``None`` in.
7. MoSQL passed all of the injection tests from sqlmap_
on value and identifier with PostgreSQL and MySQL.

0.1.6

Not secure
------

1. The :mod:`mosql.util` is faster (1.35x~1.7x) after rewriting.
2. The :mod:`mosql.util` also supports to delimit the identifier (for avoiding
injection from identifier),
3. use arbitrary SQL statements by :class:`mosql.util.raw`,
4. and customize parameter name of prepared statement by
:class:`mosql.util.param` now.
5. The :mod:`mosql.ext` is deprecated now, please use :mod:`mosql.common`
instead.

0.1.5

Not secure
------

1. This version refined the :py:mod:`mosql.mysql`.
2. MoSQL with PostgreSQL or MySQL passed all of the injection tests from sqlmap_.

0.1.4

Not secure
------

1. Fixed the dumped value of datetime, date and time.

0.1.3

Not secure
------

1. This version reverted the 3 changes in the previous version.
2. By default, the :class:`mosql.result.Model` now orders the result set by
nothing.

0.1.2

Not secure
------

1. Added the :py:mod:`mosql.mysql`.
2. The :py:meth:`mosql.result.Model.seek` now respects the arguments from users.
3. The :py:attr:`~mosql.result.Model.group_by` now uses the value of
:py:attr:`~mosql.result.Model.identify_by`, by default.
4. The :py:attr:`~mosql.result.Model.order_by` stops using the value of
:py:attr:`~mosql.result.Model.identify_by`.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.