Class Collection

Class Collection

Methods

createCollection

  • This method is used to create collection

    Parameters

    Returns Promise<ResStatus>

    Status

describeCollection

dropCollection

  • Drop collection, also will drop all datas in this collection.

    Parameters

    Returns Promise<ResStatus>

getCollectionStatistics

hasCollection

loadCollection

releaseCollection

  • If you want to reduce your cache usage, you can release some collections. But you cant search in unload collections.

    Parameters

    Returns Promise<ResStatus>

showCollections