Deveel.Data.Sql.Statements.UpdateFromCursorStatement.UpdateFromCursorStatement |
( |
ObjectName |
tableName, |
|
|
string |
cursorName |
|
) |
| |
|
inline |
Definition at line 11 of file UpdateFromCursorStatement.cs.
12 if (tableName == null)
13 throw new ArgumentNullException(
"tableName");
14 if (
String.IsNullOrEmpty(cursorName))
15 throw new ArgumentNullException(
"cursorName");
A long string in the system.
IStatement IPreparableStatement. Deveel.Data.Sql.Statements.UpdateFromCursorStatement.Prepare |
( |
IRequest |
request | ) |
|
|
inlineprivate |
Implements Deveel.Data.Sql.Statements.IPreparableStatement.
Definition at line 25 of file UpdateFromCursorStatement.cs.
28 throw new ObjectNotFoundException(
new ObjectName(
CursorName),
"The source cursor was not found.");
30 var tableName = request.Query.ResolveTableName(
TableName);
31 if (tableName == null)
32 throw new ObjectNotFoundException(
TableName);
34 var table = request.Query.GetMutableTable(tableName);
36 throw new ObjectNotFoundException(tableName);
38 var columns = table.TableInfo.Select(x =>
new ObjectName(tableName, x.ColumnName));
40 var queryExpression = cursor.QueryExpression;
43 var assignments =
new List<SqlColumnAssignment>();
44 foreach (var column
in columns) {
50 throw new NotImplementedException();
static QueryExpressionFrom Create(IRequest context, SqlQueryExpression expression)
string Deveel.Data.Sql.Statements.UpdateFromCursorStatement.CursorName |
|
getprivate set |
ObjectName Deveel.Data.Sql.Statements.UpdateFromCursorStatement.TableName |
|
getprivate set |
The documentation for this class was generated from the following file: