"SequoiaDB Giant Sequoia Database" getLob()

grammar

db.collectionspace.collection.getLob(<oid>,<file path>,[forced])

Read the large objects in the collection.

Parameter Description

Note:

  • Local files do not need to be created manually in advance.
  • forced is false by default.

return value

No return value, Throws an error, and outputs the error, by getLastErrMsg () Gets error message or by getLastError () Gets error code.

error

error code

Example

  • Write the lob with the identifier 5435e7b69487faa663000897 to the local /opt/newlob file

    db.sample.employee.getLob( '5435e7b69487faa663000897', '/opt/newlob' )

    Click on Jushan Database Documentation Center for more information

Guess you like

Origin blog.csdn.net/weixin_45890253/article/details/112939090