SFSmartSqlHelper Class Reference

Inherits from NSObject
Declared in SFSmartSqlHelper.h

Overview

Utility helper functions for Smart SQL.

+ sharedInstance

Gets the shared instance of the Smart SQL helper.

+ (SFSmartSqlHelper *)sharedInstance

Return Value

Pointer to the shared SFSmartSqlHelper instance.

Declared In

SFSmartSqlHelper.h

– convertSmartSql:withStore:withDb:

Converts a Smart SQL query to SQL.

- (NSString *)convertSmartSql:(NSString *)smartSql withStore:(SFSmartStore *)store withDb:(FMDatabase *)db

Parameters

smartSql

The Smart SQL query to convert.

store

The SmartStore instance.

db

The database.

Return Value

The SQL version of the given Smart SQL query.

Declared In

SFSmartSqlHelper.h