Fix table info call, just return placeholder for now

This commit is contained in:
Dan Sosedoff
2018-06-05 16:38:00 -05:00
parent 56f3b45a4e
commit e09f892442
2 changed files with 10 additions and 0 deletions

View File

@@ -228,6 +228,9 @@ func (client *Client) TableRowsCount(table string, opts RowsOptions) (*Result, e
}
func (client *Client) TableInfo(table string) (*Result, error) {
if client.serverType == cockroachType {
return client.query(statements.TableInfoCockroach)
}
return client.query(statements.TableInfo, table)
}