New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to delete/drop/empty whole database #32

Closed
fabsimilian opened this Issue May 5, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@fabsimilian

fabsimilian commented May 5, 2015

Is it possible to drop / delete or empty all database entries?
Or drop and recreate the database?

@Stuart-campbell

This comment has been minimized.

Show comment
Hide comment
@Stuart-campbell

Stuart-campbell May 5, 2015

Owner

Not yet, I am working on it should have the added soon.

Owner

Stuart-campbell commented May 5, 2015

Not yet, I am working on it should have the added soon.

Stuart-campbell added a commit that referenced this issue May 5, 2015

How to delete/drop/empty whole database #32, Customizable table name #31
, Database migration issue #30, How to clear a table? #27,

 Edit New issue
How to execute SQL? #26
@Stuart-campbell

This comment has been minimized.

Show comment
Hide comment
@Stuart-campbell

Stuart-campbell May 5, 2015

Owner

Added in v1.1.4

RushCore.getInstance().clearDatabase();

That just deletes all the data in every table. If you actually want to delete it from disk you will need to use default Android way of deleting a database.

Thanks

Owner

Stuart-campbell commented May 5, 2015

Added in v1.1.4

RushCore.getInstance().clearDatabase();

That just deletes all the data in every table. If you actually want to delete it from disk you will need to use default Android way of deleting a database.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment