Definition at line 24 of file OpenStatementTests.cs.
void Deveel.Data.Sql.Statements.OpenStatementTests.OpenCursorWithArguments |
( |
| ) |
|
|
inline |
Definition at line 43 of file OpenStatementTests.cs.
44 const string sql =
"OPEN c1(34, 'user')";
46 var statements = SqlStatement.Parse(sql);
47 Assert.IsNotNull(statements);
49 var statementList = statements.ToList();
50 Assert.IsNotEmpty(statementList);
51 Assert.AreEqual(1, statementList.Count);
52 Assert.IsInstanceOf<OpenStatement>(statementList[0]);
54 var statement = (OpenStatement)statementList[0];
55 Assert.AreEqual(
"c1", statement.CursorName);
56 Assert.IsNotEmpty(statement.Arguments);
58 var arg1 = statement.Arguments.First();
59 Assert.IsNotNull(arg1);
An expression that holds a constant value.
void Deveel.Data.Sql.Statements.OpenStatementTests.OpenCursorWithoutArguments |
( |
| ) |
|
|
inline |
Definition at line 26 of file OpenStatementTests.cs.
27 const string sql =
"OPEN c1";
29 var statements = SqlStatement.Parse(sql);
30 Assert.IsNotNull(statements);
32 var statementList = statements.ToList();
33 Assert.IsNotEmpty(statementList);
34 Assert.AreEqual(1, statementList.Count);
35 Assert.IsInstanceOf<OpenStatement>(statementList[0]);
37 var statement = (OpenStatement) statementList[0];
38 Assert.AreEqual(
"c1", statement.CursorName);
39 Assert.IsEmpty(statement.Arguments);
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-nunit/Deveel.Data.Sql.Statements/OpenStatementTests.cs