I am trying to use Anko SQLite but having problems...
# anko
d
I am trying to use Anko SQLite but having problems, with the following code
Copy code
context.database.use {
            createTable("DBName", ifNotExists = true,
                    "_id" to INTEGER + PRIMARY_KEY + UNIQUE,
                    "name" to TEXT)
        }
I am getting a compile error saying
Mixing named and positioned arguments in not allowed
but I am doing exactly as documentation says. Can anyone help me with that?