home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEPLOY / SYBASEAD.Z / SybaseSQLExpression.h < prev   
Text File  |  1996-09-09  |  809b  |  29 lines

  1. //  SybaseSQLExpression.h
  2. //  Copyright 1994, NeXT Software, Inc.
  3.  
  4. #import <EOAccess/EOAccess.h>
  5.  
  6. /*
  7. ** This class is here to do special support for single outer joins and
  8. **  to support HOLDLOCK on selectForUpdate.
  9. */
  10. @interface SybaseSQLExpression:EOSQLExpression
  11. {
  12. }
  13.  
  14. // All of the methods for SybaseSQLExpression are required method 
  15. // overrides of methods defined on EOSQLExpression.
  16.  
  17. + (NSString *)formatValue:(id)value forAttribute:(EOAttribute *)attribute;
  18.     // returns a formatted string representation of value that is
  19.     // suitable for use in a sybase sql statement
  20.  
  21. + (int)serverTypeIdForName:(NSString *)typeName;
  22.     // For a given type name ("char", "int", "decimal", etc.), return the
  23.     // sybase type code (47, 56, 55, etc.)
  24.  
  25. - (NSString *)lockClause;
  26.     // returns @"HOLDLOCK"
  27.  
  28. @end
  29.