|
static void | DeclareCursor (this IRequest context, CursorInfo cursorInfo) |
|
static void | DeclareCursor (this IRequest context, string cursorName, SqlQueryExpression query) |
|
static void | DeclareCursor (this IRequest context, string cursorName, CursorFlags flags, SqlQueryExpression query) |
|
static void | DeclareInsensitiveCursor (this IRequest context, string cursorName, SqlQueryExpression query) |
|
static void | DeclareInsensitiveCursor (this IRequest context, string cursorName, SqlQueryExpression query, bool withScroll) |
|
static bool | CursorExists (this IRequest query, string cursorName) |
|
static bool | DropCursor (this IRequest query, string cursorName) |
|
static Cursor | FindCursor (this IRequest query, string cursorName) |
|
static bool | OpenCursor (this IRequest query, string cursorName, params SqlExpression[] args) |
|
static bool | CloseCursor (this IRequest query, string cursorName) |
|
Definition at line 8 of file RequestExtensions.cs.
static bool Deveel.Data.Sql.Cursors.RequestExtensions.CloseCursor |
( |
this IRequest |
query, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Cursors.RequestExtensions.CursorExists |
( |
this IRequest |
query, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
static void Deveel.Data.Sql.Cursors.RequestExtensions.DeclareCursor |
( |
this IRequest |
context, |
|
|
CursorInfo |
cursorInfo |
|
) |
| |
|
inlinestatic |
Definition at line 9 of file RequestExtensions.cs.
10 var queryPlan = context.Context.QueryPlanner().PlanQuery(
new QueryInfo(context, cursorInfo.QueryExpression));
11 var selectedTables = queryPlan.DiscoverTableNames();
12 foreach (var tableName
in selectedTables) {
13 if (!context.Query.UserCanSelectFromTable(tableName))
17 context.Context.DeclareCursor(cursorInfo);
static void Deveel.Data.Sql.Cursors.RequestExtensions.DeclareCursor |
( |
this IRequest |
context, |
|
|
string |
cursorName, |
|
|
SqlQueryExpression |
query |
|
) |
| |
|
inlinestatic |
Definition at line 20 of file RequestExtensions.cs.
static void DeclareCursor(this IRequest context, CursorInfo cursorInfo)
Definition at line 24 of file RequestExtensions.cs.
25 context.DeclareCursor(
new CursorInfo(cursorName, flags, query));
static void Deveel.Data.Sql.Cursors.RequestExtensions.DeclareInsensitiveCursor |
( |
this IRequest |
context, |
|
|
string |
cursorName, |
|
|
SqlQueryExpression |
query |
|
) |
| |
|
inlinestatic |
Definition at line 28 of file RequestExtensions.cs.
static void DeclareInsensitiveCursor(this IRequest context, string cursorName, SqlQueryExpression query)
static void Deveel.Data.Sql.Cursors.RequestExtensions.DeclareInsensitiveCursor |
( |
this IRequest |
context, |
|
|
string |
cursorName, |
|
|
SqlQueryExpression |
query, |
|
|
bool |
withScroll |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Cursors.RequestExtensions.DropCursor |
( |
this IRequest |
query, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
static Cursor Deveel.Data.Sql.Cursors.RequestExtensions.FindCursor |
( |
this IRequest |
query, |
|
|
string |
cursorName |
|
) |
| |
|
inlinestatic |
static bool Deveel.Data.Sql.Cursors.RequestExtensions.OpenCursor |
( |
this IRequest |
query, |
|
|
string |
cursorName, |
|
|
params SqlExpression[] |
args |
|
) |
| |
|
inlinestatic |
Definition at line 52 of file RequestExtensions.cs.
53 return query.Context.OpenCursor(query, cursorName, args);
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Cursors/RequestExtensions.cs