list collections

枚举数据库中所有的集合。

语法

list collections

参数

返回值

数据库中所有的集合。

示例

  • 返回数据库所有的集合。
  1. > db.exec("list collections")
  2. { "Name": "foo.bar" }
  3. { "Name": "foo.bar2" }
  4. Return 2 row(s).
  5. Takes 0.4929s.