Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
使用字节数组设置指定列的值。
public void setBytes(UInt16 cid, Array value)
cid 从 1 开始的列 ID。
value 列的新值。
适用于类型为 SQLType.BINARY、SQLType.LONGBINARY 的列;当值的长度为 16 时,适用于类型为 SQLType.UUID 的列。
示例:
var blob = new Array( 3 ); blob[ 0 ] = 78; blob[ 1 ] = 0; blob[ 2 ] = 68; t.setBytes( 1, blob );