Skip to content

ObjectC simulation functionality to SQL data to facilitate front-end query data[模拟SQL机制操作ObjectC对象]

Notifications You must be signed in to change notification settings

HevnChin/ObjectCImitateSQL

Repository files navigation

ObjectCImitateSQL

ObjectC simulation functionality to SQL data to facilitate front-end query data[模拟SQL机制操作ObjectC对象]

we will update for future ,you could get by below github URL if you have any questions please give me Email : [email protected] Choose ObjectCImitateSQL for your next project, or migrate over your existing projects—you'll be happy you did!

How To Get Started

Communication

Installation

ObjectCImitateSQL supports multiple methods for installing the library in a project.

Upgrade instructions

##1.0

///[singleTable]: fetch all dataList: implement: Select * From TableArray Where key = value
-(NSArray *)selectListFromTable:(NSArray *)tableArray key:(NSString *)key value:(NSString *)value;
///[singleTable]: fetch count of dataList: implement: Select count(*) From TableArray Where key = value
-(NSInteger )selectCountFromTable:(NSArray *)tableArray key:(NSString *)key value:(NSString *)value;
///[singleTable]: fetch all Distinct dataList: implement: Select Distinct * From TableArray Where key = value
-(NSArray *)selectDistinctFromTable:(NSArray *)tableArray key:(NSString *)key value:(NSString *)value;


///[singleTable]: base key to get list: implement: Select key1 key2 From TableArray Where key = value
-(NSArray *)selectKeyArray:(NSArray *)dArray table:(NSArray *)tableArray key:(NSString *)key value:(NSString *)value;
///[singleTable]: base keys to get list: implement: Select key1 key2 From TableArray Where key1 = value1 and key2 = value2 and ...
-(NSArray* )selectKeyArray:(NSArray *)tableArray keys:(NSArray *)keys values:(NSArray *)values;
///[singleTable]: base key to get Distinct list: implement: Select Distinct a,b,c  From TableArray Where key = value
-(NSArray *)selectDistinctKeyArray:(NSArray *)dArray table:(NSArray *)tableArray key:(NSString *)key value:(NSString *)value;

##1.1

///<singleTable>: fetch all dataList: implement: Select * From TableArray Where key1 = value1 and key2 = value2 and ...
-(NSArray* )selectListFromTable:(NSArray *)tableArray keys:(NSArray *)keys values:(NSArray *)values;


///<singleTable>: base keys to get list: implement: Select a,b,c  From TableArray Where key1 = value1 and key2 = value2
-(NSArray *)selectKeyArray:(NSArray *)dArray table:(NSArray *)tableArray keys:(NSArray *)keys values:(NSArray *)values;

///<singleTable>: base keys to get Distinct list: implement: Select Distinct a,b,c  From TableArray Where key1 = value1 and key2 = value2
-(NSArray *)selectDistinctKeyArray:(NSArray *)dArray table:(NSArray *)tableArray keys:(NSArray *)keys values:(NSArray *)values;

License

ObjectCImitateSQL is released under the WangSF license. See LICENSE for details.

About

ObjectC simulation functionality to SQL data to facilitate front-end query data[模拟SQL机制操作ObjectC对象]

Resources

Stars

Watchers

Forks

Packages

No packages published