From b7c422c52c832bf824a4f2e4051d9aed8790a44e Mon Sep 17 00:00:00 2001 From: huangzhibiao <450426721@qq.com> Date: Fri, 3 Mar 2017 18:07:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=8B=E5=8A=A1=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E8=AF=B4=E6=98=8EAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加事务操作说明API --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f05249..057fdf3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,12 @@ LKDBHelper好一点,但也要复写不少的函数,而且LKDBHelper的使用demo 设置调试模式 @debug YES:打印SQL语句, NO:不打印SQL语句. */ -+(void)setDebug:(BOOL)debug; ++(void)setDebug:(BOOL)debug; +/** + 事务操作. + @return 返回YES提交事务, 返回NO回滚事务. + */ ++(void)inTransaction:(BOOL (^_Nonnull)())block; /** 同步存储. */