Schema version of an EntropIA database
entropia_schema_version.RdReturns the authoritative schema version: the lexicographic maximum of the
_migrations table (e.g. "0029_rag_chunks"). NA_character_ when the
database has no _migrations table.
Arguments
- con
A connection returned by
entropia_connect().
Examples
con <- entropia_connect(system.file("extdata", "entropia-example.sqlite",
package = "entropiaR"
))
entropia_schema_version(con)
#> [1] "0029_rag_chunks"
entropia_disconnect(con)