Skip to content

Commit 7fb6761

Browse files
committed
#114 Described how views folder works
1 parent 6e89607 commit 7fb6761

File tree

1 file changed

+6
-1
lines changed
  • examples/sample-project/src/main/ml-config/view-schemas

1 file changed

+6
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
See [the MarkLogic docs](http://docs.marklogic.com/REST/POST/manage/v2/databases/[id-or-name]/view-schemas) for what a
2-
SQL view schema and view JSON/XML file can contain.
2+
SQL view schema and view JSON/XML file can contain.
3+
4+
For each view schema that ml-gradle processes in this directory, it will look for a directory with a name
5+
of "(view schema name)-views". If it finds such a directory, it will process each file within the directory
6+
as a SQL view. In this example, the name of the view schema is "main", and so the "main-views" directory
7+
contains the views to be created in association with this schema.

0 commit comments

Comments
 (0)