db_metadata: Create a DBI metadata interface

View source: R/database-explorer.R

db_metadataR Documentation

Create a DBI metadata interface

Description

The returned functions use DBI's portable table and field listing. SQLite additionally exposes views from its catalog. Driver packages can use this small callback protocol when building their own metadata views; the explorer does not yet have an adapter registry.

Usage

db_metadata(connection)

Arguments

connection

A db_connection() wrapper or open DBI connection.

Value

A list with schemas(), tables(schema), views(schema), columns(table, schema), and quote(identifier) functions.


termr documentation built on Oct. 21, 2026, 5:13 p.m.