Fix driver

This commit is contained in:
Lunny Xiao 2021-07-21 10:38:24 +08:00
parent bc2eaaacbd
commit 61321ce66a
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,12 @@ type clickhouse struct {
baseDriver baseDriver
} }
func (p *clickhouse) Features() *DriverFeatures {
return &DriverFeatures{
SupportReturnInsertedID: false,
}
}
func (p *clickhouse) Parse(driverName, dataSourceName string) (*URI, error) { func (p *clickhouse) Parse(driverName, dataSourceName string) (*URI, error) {
return ParseClickHouse(dataSourceName) return ParseClickHouse(dataSourceName)
} }