DSN
The Data Source node is optional. By default, SRS inherits the connection from the current application.
Connections in xml file are stored in plain text. For security reasons, it is recommended to use the jetQuery Connections Manager. Connections stored in the connection manager are secured and encrypted.
Attributes
name
: Name of the connection.type
(default:mssql
): Connection type.mssql
: Microsoft SQL Server, Azure SQL DB, Amazon RDSself
: Virtual connection to command result- (experimental)
file_system
: Local/Remote File System - (experimental)
MsExcel
: EXCEL (.xlsx
) files as a database srs
: SRS system connection
text
: Connection string
Types
mssql
- SQL Server Provider
The standard SQL Server provider connects to Microsoft® SQL Server, Microsoft® Azure SQL, and Amazon RDS for SQL Server.
file_system
- File System Provider
The system can query the file system like a SQL database.
Parameters:
Path
(required)Server
(optional): Remote serverUser
(optional): Remote server userPassword
(optional): Remote server passwordSearchPattern=*.*
(optional, default:*.*
)SubDirectories=true
(optional, default:false
)
Available fields:
CreationTime
(text)CreationTimeUtc
(text)DirectoryName
(text)Name
(text)Length
(numeric)FullName
(text)Extension
(text)Content
(text, read-only for.html
,.md
,.txt
,.sql
,.xml
,.json
)Slug
(text)
excel
Provider
Parameters:
Path
(required)Server
(optional): Remote serverUser
(optional): Remote server userPassword
(optional): Remote server passwordHeader
(optional):true
/false