X DevAPI 用户指南 / 第 11 章 CRUD EBNF 定义 /
11.1 会话对象和函数
EBNF 中显示的此对象的语法是:
Session
::= '.getSchema(' StringLiteral ')'
| '.getSchemas()'
| '.createSchema(' StringLiteral ')'
| '.dropSchema(' StringLiteral ')'
| '.getDefaultSchema()'
| '.startTransaction()'
| '.commit()'
| '.rollback()'
| '.setSavepoint()'
| '.setSavepoint(' StringLiteral ')'
| '.releaseSavePoint(' StringLiteral ')'
| '.rollbackTo(' StringLiteral ')'
| '.close()'
| SqlExecute
EBNF 中显示的此函数的语法是:
SqlExecute
::= '.sql(' SqlStatementStr ')'
( '.bind(' Literal (',' Literal)* ')')*
( '.execute()' )?
EBNF 中显示的此函数的语法是:
SQLPlaceholderValues
::= '{' SQLPlaceholderName ':' ( SQLLiteral ) '}'