This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Description
I'm trying to delete all content from table.
using:
db.delete("table", null, null)
throws:
java.lang.IllegalArgumentException: Too many bind arguments. 1 arguments were provided but the statement needs 0 arguments.
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:68)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
at android.database.sqlite.SQLiteDatabase.delete(SQLiteDatabase.java:1496)
at com.squareup.sqlbrite.BriteDatabase.delete(BriteDatabase.java:460)
at com.usecasetest.repository.DbRepo.saveComments(Jsonplaceholder.kt:25)
I'm using sqlbrite:1.1.1 and kotlin
during debuging I've found out that whereArgs in BriteDatabase.delete method is not actually null
(see screenshot: http://imgur.com/a/hu0yZ). Is it kotlin issue?