SwpFMDB Class Reference
| Inherits from | SwpFMDBBase : NSObject |
|---|---|
| Declared in | SwpFMDB.h SwpFMDB.m |
Other Methods
– swpFMDBExecuteVerifyThatTheTableExists:
swpFMDBExecuteVerifyThatTheTableExists: ( 验证数据库中 ‘表’ 是否存在 )
- (BOOL)swpFMDBExecuteVerifyThatTheTableExists:(Class)modelClassParameters
modelClass |
modelClass |
|---|
Return Value
BOOL
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBCreateTable:swpFMDBExecutionUpdateComplete:
swpFMDBCreateTable:swpFMDBExecutionUpdateComplete: ( 创建数据库中 ‘表’ )
- (void)swpFMDBCreateTable:(Class)modelClass swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete)swpFMDBExecutionUpdateCompleteParameters
modelClass |
modelClass modelClass |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBInsertModel:swpFMDBExecutionUpdateComplete:
swpFMDBInsertModel:swpFMDBExecutionUpdateComplete: ( 插入单条数据 )
- (void)swpFMDBInsertModel:(id)model swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete)swpFMDBExecutionUpdateCompleteParameters
model |
model |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBInsertModels:swpFMDBExecutionUpdateComplete:
swpFMDBInsertModels:swpFMDBExecutionUpdateComplete: ( 插入一组数据 )
- (void)swpFMDBInsertModels:(NSArray *)models swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete)swpFMDBExecutionUpdateCompleteParameters
models |
models |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBUpdateModel:swpFMDBExecutionUpdateComplete:
swpFMDBUpdateModel:swpFMDBExecutionUpdateComplete: ( 更新单条数据 )
- (void)swpFMDBUpdateModel:(id)model swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete)swpFMDBExecutionUpdateCompleteParameters
model |
model |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBUpdateModels:swpFMDBExecutionUpdateComplete:
swpFMDBUpdateModels:swpFMDBExecutionUpdateComplete: ( 更新一组数据 )
- (void)swpFMDBUpdateModels:(NSArray *)models swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete)swpFMDBExecutionUpdateCompleteParameters
models |
models |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBSelectModel:bySwpDBID:swpFMDBExecutionSelectModelComplete:
swpFMDBSelectModel:bySwpDBID:swpFMDBExecutionSelectModelComplete: ( 查询单条数据 )
- (void)swpFMDBSelectModel:(Class)modelClass bySwpDBID:(NSString *)swpDBID swpFMDBExecutionSelectModelComplete:(SwpFMDBExecutionSelectModelComplete)swpFMDBExecutionSelectModelCompleteParameters
modelClass |
modelClass |
|---|---|
swpDBID |
swpDBID |
swpFMDBExecutionSelectModelComplete |
swpFMDBExecutionSelectModelComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBSelectModels:swpFMDBExecutionSelectModelsComplete:
swpFMDBSelectModels:swpFMDBExecutionSelectModelsComplete: ( 查询全部数据 )
- (void)swpFMDBSelectModels:(Class)modelClass swpFMDBExecutionSelectModelsComplete:(SwpFMDBExecutionSelectModelsComplete)swpFMDBExecutionSelectModelsCompleteParameters
modelClass |
modelClass |
|---|---|
swpFMDBExecutionSelectModelsComplete |
swpFMDBExecutionSelectModelsComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBDelegateModel:swpFMDBExecutionUpdateComplete:
swpFMDBDelegateModel:swpFMDBExecutionUpdateComplete: ( 删除单条数据 )
- (void)swpFMDBDelegateModel:(id)model swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete _Nullable)swpFMDBExecutionUpdateCompleteParameters
model |
model |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBDelegateModels:swpFMDBExecutionUpdateComplete:
swpFMDBDelegateModels:swpFMDBExecutionUpdateComplete: ( 删除一组数据 )
- (void)swpFMDBDelegateModels:(NSArray *)models swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete _Nullable)swpFMDBExecutionUpdateCompleteParameters
models |
models |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBClearModel:swpFMDBExecutionUpdateComplete:
swpFMDBClearModel:swpFMDBExecutionUpdateComplete: ( 清空全部数据 )
- (void)swpFMDBClearModel:(Class)modelsClass swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete _Nullable)swpFMDBExecutionUpdateCompleteParameters
modelsClass |
modelsClass |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBDeleteTable:swpFMDBExecutionUpdateComplete:
swpFMDBDeleteTable:swpFMDBExecutionUpdateComplete: ( 删除表 )
- (void)swpFMDBDeleteTable:(Class)table swpFMDBExecutionUpdateComplete:(SwpFMDBExecutionUpdateComplete)swpFMDBExecutionUpdateCompleteParameters
table |
table |
|---|---|
swpFMDBExecutionUpdateComplete |
swpFMDBExecutionUpdateComplete |
Discussion
@author swp_song
Declared In
SwpFMDB.h
– swpFMDBSelectTest
swpFMDBSelectTest: ( 测试方法 )
- (void)swpFMDBSelectTestDiscussion
@author swp_song
Declared In
SwpFMDB.h
Other Methods
– swpFMDBInTransaction:
swpFMDBInTransaction:block ( 开启事务 )
- (void)swpFMDBInTransaction:(void ( ^ ) ( SwpFMDB *swpFMDB , FMDatabase *dataBase , BOOL *rollback ))blockParameters
block |
block |
|---|
Discussion
@author swp_song
Declared In
SwpFMDB.m