AWSFMStatement

Objective-C

@interface AWSFMStatement : NSObject {
  NSString *_query;
  long _useCount;
  BOOL _inUse;
}

Swift

class AWSFMStatement : NSObject

Objective-C wrapper for sqlite3_stmt

This is a wrapper for a SQLite sqlite3_stmt. Generally when using AWSFMDB you will not need to interact directly with FMStatement, but rather with <FMDatabase> and <FMResultSet> only.

### See also

  • Undocumented

    Declaration

    Objective-C

    NSString *_query
  • Undocumented

    Declaration

    Objective-C

    long _useCount
  • Undocumented

    Declaration

    Objective-C

    BOOL _inUse

Properties

  • Usage count

    Declaration

    Objective-C

    @property long useCount;

    Swift

    var useCount: Int { get set }
  • SQL statement

    Declaration

    Objective-C

    @property (retain) NSString *query;

    Swift

    var query: String! { get set }
  • SQLite sqlite3_stmt

    Declaration

    Objective-C

    @property void *statement;

    Swift

    var statement: UnsafeMutableRawPointer! { get set }
  • Indication of whether the statement is in use

    Declaration

    Objective-C

    @property BOOL inUse;

    Swift

    var inUse: Bool { get set }

Closing and Resetting

  • Close statement

    Declaration

    Objective-C

    - (void)close;

    Swift

    func close()
  • Reset statement

    Declaration

    Objective-C

    - (void)reset;

    Swift

    func reset()