Documentation
¶
Index ¶
Constants ¶
View Source
const DatabaseType = "fabric"
Variables ¶
This section is empty.
Functions ¶
func GoquDialectOptions ¶
func GoquDialectOptions() *sqlgen.SQLDialectOptions
func GoquExpressions ¶
func GoquExpressions() *base.Expressions
Types ¶
type Config ¶
type Config struct {
Host string `json:"host"`
Database string `json:"database"`
TenantID string `json:"tenantId"`
ClientID string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
FabricWorkspaceID string `json:"fabricWorkspaceId,omitempty"`
// Timeout bounds SQL connection dialing and the optional Fabric REST
// bootstrap. It does not impose a timeout on SQL query execution.
Timeout time.Duration `json:"timeout"`
}
Config contains the credentials required to connect to a Microsoft Fabric SQL endpoint.
func (Config) ConnectionString ¶
ConnectionString returns the go-mssqldb Azure AD connection string. Fabric SQL endpoints always use port 1433.
Click to show internal directories.
Click to hide internal directories.