Class TForUpdate
- Namespace
- gudusoft.gsqlparser.nodes
- Assembly
- gudusoft.gsqlparser.dll
The FOR UPDATE clause lets you lock the selected rows so that other users cannot lock or update the rows until you end your transaction. This clause only in a top-level SELECT statement, not in subqueries.
public class TForUpdate : TParseTreeNode, Visitable
- Inheritance
-
TForUpdate
- Implements
- Inherited Members
Properties
ColumnRefs
Use the OF ... column clause to lock the select rows only for a particular table or view in a join. The columns in the OF clause only indicate which table or view rows are locked. The specific columns that you specify are not significant. However, you must specify an actual column name, not a column alias. If you omit this clause, then the database locks the selected rows from all the tables in the query. @return
public virtual TObjectNameList ColumnRefs { get; set; }
Property Value
ForUpdateType
public virtual TForUpdate.EForUpdateType ForUpdateType { get; set; }
Property Value
Nowait
public virtual bool Nowait { get; set; }
Property Value
Wait
public virtual bool Wait { get; set; }
Property Value
WaitNoWait
public virtual TDummy WaitNoWait { set; }
Property Value
WaitValue
public virtual string WaitValue { get; set; }
Property Value
Methods
accept(TParseTreeVisitor)
public override void accept(TParseTreeVisitor v)
Parameters
acceptChildren(TParseTreeVisitor)
public override void acceptChildren(TParseTreeVisitor v)
Parameters
doParse(TCustomSqlStatement, ESqlClause)
analyze this node
public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
Parameters
psqlTCustomSqlStatementplocationESqlClause
init(object)
Initialize a query tree node.
public override void init(object arg1)
Parameters
arg1object