new DatasetCfg(conn, sk, t, args, maintbl, alias)
Parameters:
Name | Type | Description |
---|---|---|
conn |
string | JDBC connection id, configured at server/WEB-INF/connects.xml |
sk |
string | semantic key configured in WEB-INF/dataset.xml |
t |
stree_t | function branch tag (JBody#a). Can be only one of stree_t.sqltree, stree_t.retree, stree_t.reforest, stree_t.query |
args |
object | arguments to be formatted to sql args. |
maintbl |
string | if t is null or undefined, use this to replace maintbl in super (QueryReq), other than let it = sk. |
alias |
string | if t is null or undefined, use this to replace alias in super (QueryReq). |
- Source:
Methods
checkt(t)
Check is t can be undertood by s-tree.serv
Parameters:
Name | Type | Description |
---|---|---|
t |
string |
- Source:
treeSemtcs(semtcs)
Set tree semantics
You are recommended not to use this except your are the semantic-* developer.
You are recommended not to use this except your are the semantic-* developer.
Parameters:
Name | Type | Description |
---|---|---|
semtcs |
TreeSemantics |
- Source: