Преглед на файлове

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() {