github.com/milvus-io/milvus-sdk-go/v2@v2.4.1/entity/database.go (about) 1 package entity 2 3 import "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" 4 5 // Licensed to the LF AI & Data foundation under one 6 // or more contributor license agreements. See the NOTICE file 7 // distributed with this work for additional information 8 // regarding copyright ownership. The ASF licenses this file 9 // to you under the Apache License, Version 2.0 (the 10 // "License"); you may not use this file except in compliance 11 // with the License. You may obtain a copy of the License at 12 // 13 // http://www.apache.org/licenses/LICENSE-2.0 14 // 15 // Unless required by applicable law or agreed to in writing, software 16 // distributed under the License is distributed on an "AS IS" BASIS, 17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 // See the License for the specific language governing permissions and 19 // limitations under the License. 20 21 // Database represents a database in a remote Milvus cluster. 22 type Database struct { 23 Name string // Database name. 24 Properties []*commonpb.KeyValuePair 25 }