Definition at line 29 of file TableQueryTests.cs.
void Deveel.Data.Sql.TableQueryTests.AddRow |
( |
TemporaryTable |
tmpTable, |
|
|
long |
id, |
|
|
string |
name, |
|
|
DateTimeOffset |
date |
|
) |
| |
|
inlineprivate |
Definition at line 32 of file TableQueryTests.cs.
static DataObject Date(DateTimeOffset value)
static DataObject String(string s)
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
static DataObject BigInt(long value)
void Deveel.Data.Sql.TableQueryTests.SelectRowsWhereStaticId |
( |
int |
id, |
|
|
int |
expectedRow |
|
) |
| |
|
inline |
Definition at line 62 of file TableQueryTests.cs.
64 var list = result.ToList();
66 Assert.IsNotEmpty(list);
67 Assert.AreEqual(1, list.Count);
68 Assert.AreEqual(expectedRow, list[0]);
SqlExpressionType
All the possible type of SqlExpression supported
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
static DataObject BigInt(long value)
void Deveel.Data.Sql.TableQueryTests.SelectRowsWhereStaticName |
( |
string |
name, |
|
|
int |
expectedRow |
|
) |
| |
|
inline |
Definition at line 73 of file TableQueryTests.cs.
75 var list = result.ToList();
77 Assert.IsNotEmpty(list);
78 Assert.AreEqual(1, list.Count);
79 Assert.AreEqual(expectedRow, list[0]);
SqlExpressionType
All the possible type of SqlExpression supported
Represents a dynamic object that encapsulates a defined SqlType and a compatible constant ISqlObject ...
static DataObject VarChar(string s)
void Deveel.Data.Sql.TableQueryTests.TestSetUp |
( |
| ) |
|
|
inline |
Definition at line 41 of file TableQueryTests.cs.
42 var tableInfo =
new TableInfo(
new ObjectName(
"test_table"));
47 var cornerTime = DateTimeOffset.UtcNow;
51 AddRow(tmpTable, 1,
"test1", cornerTime);
52 AddRow(tmpTable, 2,
"test2", cornerTime.AddSeconds(2));
53 AddRow(tmpTable, 3,
"test3", cornerTime.AddSeconds(5));
55 tmpTable.BuildIndexes();
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static NumericType Numeric()
static DateType DateTime()
void AddRow(TemporaryTable tmpTable, long id, string name, DateTimeOffset date)
static StringType String()
Defines the metadata properties of a table existing within a database.
ITable Deveel.Data.Sql.TableQueryTests.table |
|
private |
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/TableQueryTests.cs