Browse Source

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

Jesse Claven 9 năm trước cách đây
mục cha
commit
90f11e5acd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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() {