Function getCollection

  • Get the collection by an db address and collection name

    const database = await getCollection("0x....", "col1", client)
    

    Parameters

    • addr: string

      a hex format string address

    • name: string

      the name of collection

    • client: Client

    Returns Promise<Collection>

    the Database[]

Generated using TypeDoc