Bug #91794 Invalid object member dropCollection session.dropCollection
Submitted: 26 Jul 2018 3:30 Modified: 28 Nov 2018 13:41
Reporter: yitao Xu Email Updates:
Status: Closed Impact on me:
None 
Category:Shell General / Core Client Severity:S3 (Non-critical)
Version:8.0.11 OS:Any
Assigned to: CPU Architecture:Any

[26 Jul 2018 3:30] yitao Xu
Description:
On the manual https://dev.mysql.com/doc/refman/8.0/en/mysql-shell-tutorial-javascript-collections-operat...
Drop a Collection using mysql-js> session.dropCollection("world_x", "flags")
but when executed session.help() there is no dropCollection() in it.

How to repeat:
mysql-js>session.help()
there is no  dropCollection()

Suggested fix:
fix the document  using db.dropCollection() to replace it.
[26 Jul 2018 4:46] MySQL Verification Team
Hello Yitao Xu,

Thank you for the report.
Verified as described with MySQL Shell 8.0.11.

Thanks,
Umesh
[28 Nov 2018 13:41] David Moss
Posted by developer:
 
Thanks for your feedback, this has been fixed in the X DevAPI docs.