// GetRunningQueries returns a list of the current sql running queries.
GetRunningQueries returns a list of the current sql running queries.
// GetRunningQueries returns a list of the current sql running queries .
func (c *Client) GetRunningQueries() ([]LSQLRunningQuery, error) {
	resp, err := c.Do(http.MethodGet, queriesPath, "", nil)
	if err != nil {
		return nil, err
	}
	var queries []LSQLRunningQuery
	err = c.ReadJSON(resp, &queries)
	return queries, err
}
func ( c * Client ) GetRunningQueries ( ) ( [ ] LSQLRunningQuery , error ) { resp , err := c . Do ( http . MethodGet , queriesPath , " " , nil ) if err != nil { return nil , err } var queries [ ] LSQLRunningQuery err = c . ReadJSON ( resp , & queries ) return queries , err }
GetRunningQueries returns a list of the current sql running queries.
GetRunningQueries returns a list of the current sql running queries .