× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
slavakiev reported 2013-05-25T21:34:36Z  · tariqrahiman last modified 2013-07-09T21:31:40Z

Inconsistencies in documentation


Dev
Jenny Nishimura
JennyNishimura
QA
Tariq Rahiman
tariqrahiman
Priority Low
Complexity Unknown
Component MongoSQL
Version 14.0

1. Seems that necessary to change <collection_name> on <namespace>|<collection_name>  all over documentation. <namespace> is term from MongoDB documentation - A “namespace” is the concatenation of the database name and the collection names with a period character in between. Because all statements described in the our doc allow using such namespace instead <collection_name>. Also due to statement USE we can write just <collection_name>. That is why <namespace>|<collection_name>. E.g.

DELETE [ALL | ONE] FROM namespace | collection_name [WHERE condition]

2. Using <namespace> will simplify SHOW commands:

SHOW COLLECTIONS [database | namespace | collection]

SHOW FIELDS namespace | collection or to show also all fields in the DB: SHOW FIELDS [database | namespace | collection]

SHOW INDEXES [database | namespace | collection]

SHOW INDEXFIELDS namespace[.indexname] | collection[.indexname] 

3. Necessary to correct documentation for statement RENAME COLLECTION. Word "dropTarget" should be removed from the statement and from the description. Also as collections can be from different databases better use namespace. E.g.

RENAME COLLECTION source_namespace | source_collection TO target_namespace | target_collection [ DROP_TARGET]  

 

 

Issue #9146

Closed
Fixed
Resolved 2013-06-27T19:44:13Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017