RoomInspector

An in-app database inspector for Room databases.

APACHE-2.0 License

Stars
4

An in-app database inspector for Android Room databases. Read in detail here.

Built with ❤︎ by Vipin KT

Features

  • View tables
  • Add rows
  • Update rows
  • Delete rows
  • Delete tables
  • Drop tables
  • Export tables
  • Custom queries

Installation

Add this in your app's build.gradle file:

  dependencies {
       implementation 'io.github.ktvipin27:room-inspector:1.0.3'
  }
  dependencies {
       implementation("io.github.ktvipin27:room-inspector:1.0.3")
  }

Usage

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)

License

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.
Package Rankings
Top 37.53% on Repo1.maven.org
Badges
Extracted from project README
Maven Central API License
Related Projects