An in-app database inspector for Android Room databases. Read in detail here.
Built with ❤︎ by Vipin KT
- View tables
- Add rows
- Update rows
- Delete rows
- Delete tables
- Drop tables
- Export tables
- Custom queries
Add this in your app's build.gradle file:
Groovy DSL
dependencies {
implementation 'io.github.ktvipin27:room-inspector:1.0.3'
}
Kotlin DSL
dependencies {
implementation("io.github.ktvipin27:room-inspector:1.0.3")
}
To inspect your Room database with RoomInspector, just call the inspect()
method by passing your database class and database name.
Kotlin
RoomInspector.inspect(context, MyDatabase::class.java, MyDatabase.DB_NAME)
Java
RoomInspector.inspect(context, MyDatabase.class, MyDatabase.DB_NAME)
Copyright 2021 Vipin KT
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.