Definition at line 28 of file JoinTableTests.cs.
void Deveel.Data.Sql.JoinTableTests.AddTestData |
( |
| ) |
|
|
inlineprivate |
Definition at line 34 of file JoinTableTests.cs.
35 var table =
Query.GetMutableTable(
new ObjectName(
new ObjectName(
"APP"),
"persons"));
37 var row = table.NewRow();
49 table =
Query.GetMutableTable(
new ObjectName(
new ObjectName(
"APP"),
"codes"));
static DataObject Date(DateTimeOffset value)
static DataObject Integer(int value)
static DataObject String(string s)
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
TableInfo Deveel.Data.Sql.JoinTableTests.CreateFirstTable |
( |
| ) |
|
|
inlineprivate |
Definition at line 75 of file JoinTableTests.cs.
76 var tableInfo =
new TableInfo(
new ObjectName(
new ObjectName(
"APP"),
"persons"));
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static NumericType Integer()
static StringType String()
Defines the metadata properties of a table existing within a database.
TableInfo Deveel.Data.Sql.JoinTableTests.CreateSecondTable |
( |
| ) |
|
|
inlineprivate |
Definition at line 66 of file JoinTableTests.cs.
67 var tableInfo =
new TableInfo(
new ObjectName(
new ObjectName(
"APP"),
"codes"));
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static NumericType Integer()
static DateType DateTime()
static StringType String()
Defines the metadata properties of a table existing within a database.
void Deveel.Data.Sql.JoinTableTests.CreateTestTables |
( |
| ) |
|
|
inlineprivate |
Definition at line 57 of file JoinTableTests.cs.
59 Query.CreateTable(tableInfo);
60 Query.AddPrimaryKey(tableInfo.TableName,
"person_id");
63 Query.CreateTable(tableInfo);
TableInfo CreateFirstTable()
TableInfo CreateSecondTable()
void Deveel.Data.Sql.JoinTableTests.NaturalInnerJoin |
( |
| ) |
|
|
inline |
Definition at line 85 of file JoinTableTests.cs.
87 Assert.DoesNotThrow(() => expression =
SqlExpression.
Parse(
"SELECT * FROM persons, codes"));
88 Assert.IsNotNull(expression);
92 Assert.DoesNotThrow(() => resultExpression = expression.
Evaluate(
Query, null));
93 Assert.IsNotNull(resultExpression);
97 Assert.IsInstanceOf<
QueryType>(constantExpression.Value.Type);
102 Assert.DoesNotThrow(() => result = queryPlan.QueryPlan.Evaluate(
Query));
104 Assert.IsNotNull(result);
Defines the contract to access the data contained into a table of a database.
static SqlExpression Parse(string s)
Parses the given SQL string to an expression that can be evaluated.
virtual SqlExpression Evaluate(EvaluateContext context)
When overridden by a derived class, this method evaluates the expression within the provided context...
An expression that holds a constant value.
Defines the base class for instances that represent SQL expression tree nodes.
override void Deveel.Data.Sql.JoinTableTests.OnSetUp |
( |
string |
testName | ) |
|
|
inlineprotectedvirtual |
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/JoinTableTests.cs