Binary()

Overview

Returns an object for holding a binary (long) string value.

See also: MariaDB Connector/Python 1.1 and in 1.0

EXAMPLES

Create a Binary object out of any bytes() data:

import mariadb

x = mariadb.Binary(b'Pass the long binary data to the constructor...')

CHANGE HISTORY

Release Series

History

1.1

  • Present starting in MariaDB Connector/Python 1.1.2.

1.0

  • Present starting in MariaDB Connector/Python 1.0.0.