// ValidateLSQL validates but not executes a specific LSQL.
ValidateLSQL validates but not executes a specific LSQL.
// ValidateLSQL validates but not executes a specific LSQL .
func (c *Client) ValidateLSQL(sql string) (v LSQLValidation, err error) {
	if sql == "" {
		err = errSQLEmpty
		return
	}
	path := validateLSQLPath + url.QueryEscape(sql)
	resp, respErr := c.Do(http.MethodGet, path, contentTypeJSON, nil)
	if respErr != nil {
		err = respErr
		return
	}
	err = c.ReadJSON(resp, &v)
	return
}
func ( c * Client ) ValidateLSQL ( sql string ) ( v LSQLValidation , err error ) { if sql == " " { err = errSQLEmpty return } path := validateLSQLPath + url . QueryEscape ( sql ) resp , respErr := c . Do ( http . MethodGet , path , contentTypeJSON , nil ) if respErr != nil { err = respErr return } err = c . ReadJSON ( resp , & v ) return }
ValidateLSQL validates but not executes a specific LSQL.
ValidateLSQL validates but not executes a specific LSQL .