Skip to content

Commit

Permalink
apache#87 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxiaoliang committed Feb 10, 2020
1 parent 9e43c79 commit 18b098e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/service/mongo/session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ func DropView(ctx context.Context, view string) error {
}
return nil
}

//GetColInfo get collection info
func GetColInfo(ctx context.Context, name string) (*CollectionInfo, error) {
cur, err := GetDB().ListCollections(ctx, bson.M{"name": name, "type": "view"})
if err != nil {
Expand Down

0 comments on commit 18b098e

Please sign in to comment.