提交 fbee8590 编写于 作者: G guolindev

Release 3.1.0 version of LitePal.

上级 74684173
......@@ -50,7 +50,7 @@ publish {
userOrg = 'sinyu890807'
groupId = 'org.litepal.guolindev'
artifactId = 'core'
publishVersion = '3.0.1'
publishVersion = '3.1.0'
desc = 'An Android library that allows developers to use SQLite database extremely easy'
website = 'https://github.com/LitePalFramework/LitePal'
}
\ No newline at end of file
......@@ -1086,6 +1086,7 @@ object LitePal {
*
* @param collection
* Holds all models to save.
* @return True if all records in collection are saved. False none record in collection is saved. There won't be partial saved condition.
*/
@JvmStatic
fun <T : LitePalSupport> saveAll(collection: Collection<T>) = Operator.saveAll(collection)
......
......@@ -616,6 +616,7 @@ inline fun <reified T> LitePal.isExist(vararg conditions: String?) = isExist(T::
*
* @param collection
* Holds all models to save.
* @return True if all records in collection are saved. False none record in collection is saved. There won't be partial saved condition.
*/
fun <T : LitePalSupport> Collection<T>.saveAll() = LitePal.saveAll(this)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册