fixes issue that generates an error message when getting table info, getting table schema, and exporting data for tables with uppercase letters
This commit is contained in:
committed by
Eric Dagenais
parent
2398035e53
commit
7b3e99b599
@@ -203,7 +203,8 @@ func (client *Client) TableRowsCount(table string, opts RowsOptions) (*Result, e
|
||||
}
|
||||
|
||||
func (client *Client) TableInfo(table string) (*Result, error) {
|
||||
return client.query(statements.TableInfo, table)
|
||||
schema, table := getSchemaAndTable(table)
|
||||
return client.query(statements.TableInfo, fmt.Sprintf(`"%s"."%s"`, schema, table))
|
||||
}
|
||||
|
||||
func (client *Client) TableIndexes(table string) (*Result, error) {
|
||||
|
||||
Reference in New Issue
Block a user