public toProviderText() as String:
Returns the privileged provider representation for diagnostics.
Values and credentials remain redacted. Provider text is portable only within the selected provider and, for SQL, its configured dialect.
Provider-specific diagnostic text.
print(query.toProviderText())