|
static ITable[] | ExecuteQuery (this IQuery query, SqlQuery sqlQuery) |
|
static ITable[] | ExecuteQuery (this IQuery query, string sqlSource, params QueryParameter[] parameters) |
|
static ITable[] | ExecuteQuery (this IQuery query, string sqlSource) |
|
static ITable | ExecuteCreateView (this IQuery query, string viewName, string querySource) |
|
static ITable | ExecuteCreateView (this IQuery query, string viewName, IEnumerable< string > columnNames, string querySource) |
|
static ITable | ExecuteCreateView (this IQuery query, string viewName, SqlQueryExpression queryExpression) |
|
static ITable | ExecuteCreateView (this IQuery query, string viewName, IEnumerable< string > columnNames, SqlQueryExpression queryExpression) |
|
Definition at line 24 of file QueryExtensions.cs.
static ITable Deveel.Data.Sql.Statements.QueryExtensions.ExecuteCreateView |
( |
this IQuery |
query, |
|
|
string |
viewName, |
|
|
string |
querySource |
|
) |
| |
|
inlinestatic |
Definition at line 48 of file QueryExtensions.cs.
static ITable ExecuteCreateView(this IQuery query, string viewName, string querySource)
static ITable Deveel.Data.Sql.Statements.QueryExtensions.ExecuteCreateView |
( |
this IQuery |
query, |
|
|
string |
viewName, |
|
|
IEnumerable< string > |
columnNames, |
|
|
string |
querySource |
|
) |
| |
|
inlinestatic |
Definition at line 52 of file QueryExtensions.cs.
55 throw new ArgumentException(
"The input query string is invalid.",
"querySource");
static SqlExpression Parse(string s)
Parses the given SQL string to an expression that can be evaluated.
SqlExpressionType
All the possible type of SqlExpression supported
Defines the base class for instances that represent SQL expression tree nodes.
Definition at line 60 of file QueryExtensions.cs.
static ITable ExecuteCreateView(this IQuery query, string viewName, string querySource)
static ITable Deveel.Data.Sql.Statements.QueryExtensions.ExecuteCreateView |
( |
this IQuery |
query, |
|
|
string |
viewName, |
|
|
IEnumerable< string > |
columnNames, |
|
|
SqlQueryExpression |
queryExpression |
|
) |
| |
|
inlinestatic |
Definition at line 64 of file QueryExtensions.cs.
66 var statement =
new CreateViewStatement(viewName, columnNames, queryExpression);
67 return statement.Execute(query);
static ITable [] Deveel.Data.Sql.Statements.QueryExtensions.ExecuteQuery |
( |
this IQuery |
query, |
|
|
SqlQuery |
sqlQuery |
|
) |
| |
|
inlinestatic |
Definition at line 25 of file QueryExtensions.cs.
26 return StatementExecutor.Execute(query, sqlQuery);
static ITable [] Deveel.Data.Sql.Statements.QueryExtensions.ExecuteQuery |
( |
this IQuery |
query, |
|
|
string |
sqlSource, |
|
|
params QueryParameter[] |
parameters |
|
) |
| |
|
inlinestatic |
Definition at line 29 of file QueryExtensions.cs.
30 var sqlQuery =
new SqlQuery(sqlSource);
31 if (parameters != null) {
32 foreach (var parameter
in parameters) {
33 sqlQuery.Parameters.Add(parameter);
37 return query.ExecuteQuery(sqlQuery);
static ITable [] Deveel.Data.Sql.Statements.QueryExtensions.ExecuteQuery |
( |
this IQuery |
query, |
|
|
string |
sqlSource |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Statements/QueryExtensions.cs