mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
Chore: Add function for detecting if the SQL driver supported CTEs (#64441)
* Add interface method for detecting if the SQL driver supported CTEs * Update nested folder store to call RecursiveQueriesAreSupported()
This commit is contained in:

committed by
GitHub

parent
fd6e97d52d
commit
4ee0be6fdf
@ -51,6 +51,10 @@ func (f *FakeDB) Quote(value string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (f *FakeDB) RecursiveQueriesAreSupported() (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// TODO: service-specific methods not yet split out ; to be removed
|
||||
func (f *FakeDB) UpdateTempUserWithEmailSent(ctx context.Context, cmd *tempuser.UpdateTempUserWithEmailSentCommand) error {
|
||||
return f.ExpectedError
|
||||
|
Reference in New Issue
Block a user