DatabaseKit  0.5
DBQuery Class Reference

#import <DBQuery.h>

Inheritance diagram for DBQuery:
[legend]
Collaboration diagram for DBQuery:
[legend]

Instance Methods

(BOOL) - canCombineWithQuery:
 
(instancetype) - combineWith:
 
(NSString *) - stringRepresentation
 
(DBDeleteQuery *) - delete
 
(DBInsertQuery *) - insert:
 
(DBInsertQuery *) - insertUsingSelect:
 
(DBInsertQuery *) - insertUsingSelect:intoColumns:
 
(DBSelectQuery *) - select:
 
(DBSelectQuery *) - select
 
(DBUpdateQuery *) - update:
 

Class Methods

(instancetype) + withDatabase:
 
(NSArray *) + combineQueries:
 

Properties

DBdatabase
 
NSArray * columns
 

Detailed Description

Definition at line 24 of file DBQuery.h.

Method Documentation

- (BOOL) canCombineWithQuery: (DBQuery *)  aQuery

Definition at line 37 of file DBQuery.m.

Referenced by combineQueries:.

+ (NSArray *) combineQueries: (NSArray *)  aQueries

Definition at line 13 of file DBQuery.m.

References canCombineWithQuery:, and combineWith:.

- (instancetype) combineWith: (DBQuery *)  aQuery

Definition at line 42 of file DBQuery.m.

Referenced by combineQueries:.

- (DBDeleteQuery *) delete

Provided by category DBQuery(DBDeleteQuery).

Definition at line 26 of file DBDeleteQuery.m.

References columns.

- (DBInsertQuery *) insert: (NSDictionary *)  pairs

Provided by category DBQuery(DBInsertQuery).

- (DBInsertQuery *) insertUsingSelect: (DBSelectQuery *)  sourceQuery

Provided by category DBQuery(DBInsertQuery).

- (DBInsertQuery *) insertUsingSelect: (DBSelectQuery *)  sourceQuery
intoColumns: (NSArray *)  columns 

Provided by category DBQuery(DBInsertQuery).

- (DBSelectQuery *) select

Provided by category DBQuery(DBSelectQuery).

Definition at line 377 of file DBSelectQuery.m.

References select:.

- (DBSelectQuery *) select: (NSArray *)  columns

Provided by category DBQuery(DBSelectQuery).

Definition at line 369 of file DBSelectQuery.m.

References columns.

Referenced by DBSelectQuery::count, and select.

- (NSString *) stringRepresentation

Definition at line 142 of file DBQuery.m.

- (DBUpdateQuery *) update: (NSDictionary *)  pairs

Provided by category DBQuery(DBUpdateQuery).

+ (instancetype) withDatabase: (DB *)  database

Definition at line 48 of file DBQuery.m.

References database.

Referenced by DB::create.

Property Documentation

- (NSArray*) columns
readatomicstrong
- (DB *) database
readatomicstrong

Definition at line 25 of file DBQuery.h.

Referenced by withDatabase:.


The documentation for this class was generated from the following files: