1. 程式人生 > 其它 >「SequoiaDB巨杉資料庫」detachCL()

「SequoiaDB巨杉資料庫」detachCL()

技術標籤:資料庫大資料

語法

db.collectionspace.collection.detachCL(<subCLFullName>)

從主分割槽集合中分離出子分割槽集合。

引數描述

返回值

無返回值,出錯拋異常,並輸出錯誤資訊,可以通過getLastErrMsg()獲取錯誤資訊或通過getLastError()獲取錯誤資訊碼。

錯誤

錯誤碼

示例

  • 從主分割槽集合中分離指定子分割槽

    db.sample.year.detachCL("sample2.January")

    點選巨杉資料庫文件中心瞭解更多資訊