docs.AntoraNavListPage_by_schema - V
type: V ( view ), modify_date: 2021-11-17 13:40:12
RepoObject_guid: AE5A9DE2-3799-EB11-84F5-A81E8446D5B0
Columns
PK | Column Name | Data Type | NULL? | ID |
---|---|---|---|---|
|
|
|||
|
|
|||
|
|
Indexes
idx_AntoraNavListPage_by_schema__1
-
IndexSemanticGroup: no_group
-
[column-RepoObject_schema_name]; nvarchar(128)
-
-
PK, Unique, Real: 0, 0, 0
idx_AntoraNavListPage_by_schema__2
-
IndexSemanticGroup: no_group
-
[column-cultures_name]; nvarchar(10)
-
-
PK, Unique, Real: 0, 0, 0
Column Details
sql_modules_definition
docs.AntoraNavListPage_by_schema - V script
CREATE View docs.AntoraNavListPage_by_schema
As
Select
ro.RepoObject_schema_name
, rof.cultures_name
, nav_list =
--
Concat (
'= '
, ro.RepoObject_schema_name
, Char ( 13 ) + Char ( 10 )
, Char ( 13 ) + Char ( 10 )
, '== Description'
, Char ( 13 ) + Char ( 10 )
, Char ( 13 ) + Char ( 10 )
, Max ( rs.RepoSchema_description )
, Char ( 13 ) + Char ( 10 )
, Char ( 13 ) + Char ( 10 )
, '== Objects'
, Char ( 13 ) + Char ( 10 )
, Char ( 13 ) + Char ( 10 )
, '\include::partial$navlist/navlist-schema-' + docs.fs_cleanStringForFilename ( ro.RepoObject_schema_name )
+ '.adoc[]'
, Char ( 13 ) + Char ( 10 )
, Iif(Max ( Cast(rs.is_ssas As Int)) = 1
, Concat (
Char ( 13 ) + Char ( 10 )
, '== SSAS Relations Diagram'
, Char ( 13 ) + Char ( 10 )
, Char ( 13 ) + Char ( 10 )
, '[plantuml, schema_ssas_er-' + ro.RepoObject_schema_name + ', svg, subs=macros]'
, Char ( 13 ) + Char ( 10 )
, '....'
, Char ( 13 ) + Char ( 10 )
--, '\include::partial$puml/schema_ssas_er/'
-- + docs.fs_cleanStringForFilename ( ro.RepoObject_schema_name ) + '.puml[]'
, Max ( puml.PumlSchemaSsasEr )
, Char ( 13 ) + Char ( 10 )
, '....'
, Char ( 13 ) + Char ( 10 )
)
, Null)
)
From
repo.RepoObject As ro
Left Join
repo.RepoSchema As rs
On
rs.RepoSchema_name = ro.RepoObject_schema_name
Left Join
docs.RepoObject_OutputFilter_T As rof
On
rof.RepoObject_guid = ro.RepoObject_guid
Left Join
docs.Schema_puml As puml
On
puml.RepoSchema_guid = rs.RepoSchema_guid
And puml.cultures_name = rof.cultures_name
Where
rof.is_external = 0
And rof.is_DocsOutput = 1
Group By
ro.RepoObject_schema_name
, rof.cultures_name