Blob#

class swordfish._swordfishcpp.Blob(data: str)#
class swordfish._swordfishcpp.Blob

Represents a Swordfish Blob object, initialized optionally with a Python str value.

参数:

data (str, optional) -- A Python str used to initialize the Blob object.

示例

>>> import swordfish as sf
>>> sf.data.Blob()
Blob(null)
>>> sf.data.Blob(b"hello")
Blob(hello)
NULL_VALUE: Blob#