Table of Contents

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

TObjectNameList

ForUpdateType

public virtual TForUpdate.EForUpdateType ForUpdateType { get; set; }

Property Value

TForUpdate.EForUpdateType

Nowait

public virtual bool Nowait { get; set; }

Property Value

bool

Wait

public virtual bool Wait { get; set; }

Property Value

bool

WaitNoWait

public virtual TDummy WaitNoWait { set; }

Property Value

TDummy

WaitValue

public virtual string WaitValue { get; set; }

Property Value

string

Methods

accept(TParseTreeVisitor)

public override void accept(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

acceptChildren(TParseTreeVisitor)

public override void acceptChildren(TParseTreeVisitor v)

Parameters

v TParseTreeVisitor

doParse(TCustomSqlStatement, ESqlClause)

analyze this node

public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)

Parameters

psql TCustomSqlStatement
plocation ESqlClause

init(object)

Initialize a query tree node.

public override void init(object arg1)

Parameters

arg1 object