remove_sqlite_storage: Remove SQLite storage

View source: R/Storage.R

remove_sqlite_storageR Documentation

Remove SQLite storage

Description

Closes the SQLite connection and, for file-based databases, deletes the database file. For in-memory databases the data is simply discarded. Storage is reverted to the default in-memory local backend. Errors if no SQLite backend is currently set.

Usage

remove_sqlite_storage(gitstats)

Arguments

gitstats

A GitStats object.

Value

A GitStats object (invisibly).

Examples

## Not run: 
  my_gitstats <- create_gitstats() |>
    set_sqlite_storage(dbname = "gitstats.sqlite")
  remove_sqlite_storage(my_gitstats)

## End(Not run)

GitStats documentation built on April 23, 2026, 9:10 a.m.