Inherits from ORDAResultImpl : NSObject
Conforms to ORDAStatementResult
Declared in ORDAStatementResultImpl.h
ORDAStatementResultImpl.m

Overview

ORDAStatementResultImpl is an implementation of ORDAStatementResult.

Tasks

Properties

  •   changed

    the number of inserted, updated, or deleted rows or -1 for select

    property
  •   lastID

    the ID of the last inserted row, or -1 for select, update, or delete

    property

Properties

Properties

changed

the number of inserted, updated, or deleted rows or -1 for select

@property (readonly) int changed

Return Value

the number of inserted, updated, or deleted rows or -1 for select

Declared In

ORDAStatementResult.h

lastID

the ID of the last inserted row, or -1 for select, update, or delete

@property (readonly) long long lastID

Return Value

the ID of the last inserted row, or -1 for select, update, or delete

Declared In

ORDAStatementResult.h

Instance Methods

columns

the number of result columns

- (int)columns

Return Value

the number of result columns

Declared In

ORDAStatementResult.h

objectAtIndexedSubscript:

Treats the result as an array of dictionaries

- (NSDictionary *)objectAtIndexedSubscript:(NSUInteger)idx

Parameters

idx

the row index

Return Value

the idx'th row’s data, index by column name

Declared In

ORDAStatementResult.h

objectForKeyedSubscript:

Treats the result as a dictionary of arrays

- (NSArray *)objectForKeyedSubscript:(id)key

Parameters

key

the column name

Return Value

the specified column’s data, indexed by row index

Declared In

ORDAStatementResult.h

rows

the number of result rows

- (int)rows

Return Value

the number of result rows

Declared In

ORDAStatementResult.h