ODBCSQLExpression
Inherits from: EOSQLExpression : NSObject
Declared in: ODBCEOAdaptor/ODBCSQLExpression.h
Class Description
ODBCSQLExpression defines how to build SQL statements for ODBCChannels.
Bind Variables
The ODBCAdaptor uses bind variables. A bind variable is a placeholder used in an SQL statement that is replaced with an actual value after the database server determines an execution plan. You use the following methods to operate on bind variables:
- bindVariableDictionaryForAttribute:value:
- mustUseBindVariableForAttribute:
- shouldUseBindVariableForAttribute:
For more information on using bind variables, see the EOSQLExpression class specification.
Class Methods
bindVariableDictionaryForAttribute:value:
- (NSMutableDictionary *)bindVariableDictionaryForAttribute:(EOAttribute
*)attribute
value:value
lockClause
- (NSString *)lockClause
mustUseBindVariableForAttribute:
- (BOOL)mustUseBindVariableForAttribute:(EOAttribute
*)attribute
shouldUseBindVariableForAttribute:
- (BOOL)shouldUseBindVariableForAttribute:(EOAttribute
*)attribute