Up
Authors
- Mirko Viviani (
mirko.viviani@gmail.com
)
-
- Manuel Guesdon (
mguesdon@orange-concept.com
)
-
Version: 26428
Date: 2008-04-03 09:05:10 +0200 (Don, 03 Apr 2008)
Copyright: (C)
2000-2002,2003,2004,2005 Free Software
Foundation, Inc.
- Declared in:
- EOAccess/EOSQLExpression.h
Description forthcoming.
Instance Variables
Method summary
+ (
EOSQLExpression*)
deleteStatementWithQualifier: (EOQualifier*)qualifier
entity: (
EOEntity*)entity;
Description forthcoming.
+ (
EOSQLExpression*)
expressionForString: (NSString*)string;
Description forthcoming.
+ (NSString*)
formatSQLString: (NSString*)sqlString
format: (NSString*)format;
Description forthcoming.
+ (NSString*)
formatStringValue: (NSString*)string;
Description forthcoming.
+ (NSString*)
formatValue: (id)value
forAttribute: (
EOAttribute*)attribute;
Description forthcoming.
+ (
EOSQLExpression*)
selectStatementForAttributes: (NSArray*)attributes
lock: (BOOL)flag
fetchSpecification: (EOFetchSpecification*)fetchSpecification
entity: (
EOEntity*)entity;
Description forthcoming.
+ (void)
setUseBindVariables: (BOOL)flag;
Description forthcoming.
+ (void)
setUseQuotedExternalNames: (BOOL)flag;
Description forthcoming.
+ (id)
sqlExpressionWithEntity: (
EOEntity*)entity;
Description forthcoming.
+ (NSString*)
sqlPatternFromShellPattern: (NSString*)pattern;
Description forthcoming.
+ (NSString*)
sqlPatternFromShellPattern: (NSString*)pattern
withEscapeCharacter: (unichar)escapeCharacter;
Description forthcoming.
+ (
EOSQLExpression*)
updateStatementForRow: (NSDictionary*)row
qualifier: (EOQualifier*)qualifier
entity: (
EOEntity*)entity;
Description forthcoming.
+ (BOOL)
useBindVariables;
Description forthcoming.
+ (BOOL)
useQuotedExternalNames;
Description forthcoming.
- (void)
addBindVariableDictionary: (NSMutableDictionary*)binding;
Description forthcoming.
- (void)
addInsertListAttribute: (
EOAttribute*)attribute
value: (NSString*)value;
Description forthcoming.
- (void)
addJoinClauseWithLeftName: (NSString*)leftName
rightName: (NSString*)rightName
joinSemantic: (
EOJoinSemantic)semantic;
Description forthcoming.
- (void)
addOrderByAttributeOrdering: (EOSortOrdering*)sortOrdering;
Description forthcoming.
- (void)
addSelectListAttribute: (
EOAttribute*)attribute;
Description forthcoming.
- (void)
addUpdateListAttribute: (
EOAttribute*)attribute
value: (NSString*)value;
Description forthcoming.
- (NSMutableDictionary*)
aliasesByRelationshipPath;
Description forthcoming.
- (void)
appendItem: (NSString*)itemString
toListString: (NSMutableString*)listString;
Description forthcoming.
- (NSString*)
assembleDeleteStatementWithQualifier: (EOQualifier*)qualifier
tableList: (NSString*)tableList
whereClause: (NSString*)whereClause;
Description forthcoming.
- (NSString*)
assembleInsertStatementWithRow: (NSDictionary*)row
tableList: (NSString*)tableList
columnList: (NSString*)columnList
valueList: (NSString*)valueList;
Description forthcoming.
- (NSString*)
assembleJoinClauseWithLeftName: (NSString*)leftName
rightName: (NSString*)rightName
joinSemantic: (
EOJoinSemantic)semantic;
Description forthcoming.
- (NSString*)
assembleSelectStatementWithAttributes: (NSArray*)attributes
lock: (BOOL)lock
qualifier: (EOQualifier*)qualifier
fetchOrder: (NSArray*)fetchOrder
selectString: (NSString*)selectString
columnList: (NSString*)columnList
tableList: (NSString*)tableList
whereClause: (NSString*)whereClause
joinClause: (NSString*)joinClause
orderByClause: (NSString*)orderByClause
lockClause: (NSString*)lockClause;
Description forthcoming.
- (NSString*)
assembleUpdateStatementWithRow: (NSDictionary*)row
qualifier: (EOQualifier*)qualifier
tableList: (NSString*)tableList
updateList: (NSString*)updateList
whereClause: (NSString*)whereClause;
Description forthcoming.
- (NSArray*)
bindVariableDictionaries;
Description forthcoming.
- (NSMutableDictionary*)
bindVariableDictionaryForAttribute: (
EOAttribute*)attribute
value: (id)value;
Description forthcoming.
- (
EOEntity*)
entity;
Description forthcoming.
- (NSString*)
externalNameQuoteCharacter;
Description forthcoming.
- (id)
initWithEntity: (
EOEntity*)entity;
Description forthcoming.
- (NSMutableString*)
joinClauseString;
Description forthcoming.
- (void)
joinExpression;
Build join expression for all used relationships
(call this) after all other query parts construction)
- (NSMutableString*)
listString;
Description forthcoming.
- (NSString*)
lockClause;
Description forthcoming.
- (BOOL)
mustUseBindVariableForAttribute: (
EOAttribute*)att;
Description forthcoming.
- (NSMutableString*)
orderByString;
Description forthcoming.
- (void)
prepareDeleteExpressionForQualifier: (EOQualifier*)qualifier;
Description forthcoming.
- (void)
prepareInsertExpressionWithRow: (NSDictionary*)row;
Description forthcoming.
- (void)
prepareSelectExpressionWithAttributes: (NSArray*)attributes
lock: (BOOL)flag
fetchSpecification: (EOFetchSpecification*)fetchSpecification;
Description forthcoming.
- (void)
prepareUpdateExpressionWithRow: (NSDictionary*)row
qualifier: (EOQualifier*)qualifier;
Description forthcoming.
- (void)
setStatement: (NSString*)statement;
Description forthcoming.
- (void)
setUseAliases: (BOOL)useAliases;
Description forthcoming.
- (BOOL)
shouldUseBindVariableForAttribute: (
EOAttribute*)att;
Description forthcoming.
- (NSString*)
sqlStringForAttribute: (
EOAttribute*)attribute;
Description forthcoming.
- (NSString*)
sqlStringForAttributeNamed: (NSString*)name;
Description forthcoming.
- (NSString*)
sqlStringForAttributePath: (NSArray*)path;
Description forthcoming.
- (NSString*)
sqlStringForConjoinedQualifiers: (NSArray*)qualifiers;
Description forthcoming.
- (NSString*)
sqlStringForDisjoinedQualifiers: (NSArray*)qualifiers;
Description forthcoming.
- (NSString*)
sqlStringForKeyComparisonQualifier: (EOKeyComparisonQualifier*)qualifier;
Description forthcoming.
- (NSString*)
sqlStringForKeyValueQualifier: (EOKeyValueQualifier*)qualifier;
Description forthcoming.
- (NSString*)
sqlStringForNegatedQualifier: (EOQualifier*)qualifier;
Description forthcoming.
- (NSString*)
sqlStringForSchemaObjectName: (NSString*)name;
Description forthcoming.
- (NSString*)
sqlStringForSelector: (SEL)selector
value: (id)value;
Description forthcoming.
- (NSString*)
sqlStringForValue: (id)value
attributeNamed: (NSString*)attributeName;
Description forthcoming.
- (NSString*)
sqlStringForValue: (NSString*)valueString
caseInsensitiveLikeKey: (NSString*)keyString;
Description forthcoming.
- (NSString*)
statement;
Description forthcoming.
- (NSString*)
tableListWithRootEntity: (
EOEntity*)entity;
Description forthcoming.
- (BOOL)
useAliases;
Description forthcoming.
- (NSMutableString*)
valueList;
Description forthcoming.
- (NSString*)
whereClauseString;
Description forthcoming.
Instance Variables for EOSQLExpression Class
@protected NSMutableDictionary* _aliasesByRelationshipPath;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _bindings;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _contextStack;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected EOEntity* _entity;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected struct ... _flags;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableString* _joinClauseString;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableString* _listString;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableString* _orderByString;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _statement;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableString* _valueListString;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _whereClauseString;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- EOAccess/EOSQLExpression.h
Description forthcoming.
Method summary
- (NSString*)
sqlString;
Description forthcoming.
- Declared in:
- EOAccess/EOSQLExpression.h
Description forthcoming.
Method summary
- (NSString*)
sqlString;
Description forthcoming.
NSString* EOBindVariableAttributeKey;
Description forthcoming.
NSString* EOBindVariableColumnKey;
Description forthcoming.
NSString* EOBindVariableNameKey;
Description forthcoming.
NSString* EOBindVariablePlaceHolderKey;
Description forthcoming.
NSString* EOBindVariableValueKey;
Description forthcoming.
Up