浏览代码

Update godoc for KeyspaceMetadata() indicating what the function returns if the specified
keyspace does not exist.

Jesse Claven 9 年之前
父节点
当前提交
90f11e5acd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      session.go

+ 1 - 1
session.go

@@ -389,7 +389,7 @@ func (s *Session) executeQuery(qry *Query) *Iter {
 	return iter
 }
 
-// KeyspaceMetadata returns the schema metadata for the keyspace specified.
+// KeyspaceMetadata returns the schema metadata for the keyspace specified. Returns an error if the keyspace does not exist.
 func (s *Session) KeyspaceMetadata(keyspace string) (*KeyspaceMetadata, error) {
 	// fail fast
 	if s.Closed() {