Returns a table of databases on the specified SQL server, {0}. An optional record parameter, {1}, may be specified to control ...

Returns a table of databases on the specified SQL server, {0}. An optional record parameter, {1}, may be specified to control the following options:
    
  • MaxDegreeOfParallelism : A number that sets the value of the "maxdop" query clause in the generated SQL query.
  • CreateNavigationProperties : A logical (true/false) that sets whether to generate navigation properties on the returned values (default is true).
  • NavigationPropertyNameGenerator : A function that is used for the creation of names for navigation properties.
  • CommandTimeout : A duration which controls how long the server-side query is allowed to run before it is canceled. The default value is ten minutes.
  • HierarchicalNavigation : A logical (true/false) that sets whether to view the tables grouped by their schema names (default is false).
The record parameter is specified as [option1 = value1, option2 = value2...] for example.
Does not support setting a SQL query to run on the server. Sql.Database should be used instead to run a SQL query.