format.dbpath: Format a dbpath object

View source: R/dbpath.R

format.dbpathR Documentation

Format a dbpath object

Description

Returns a formatted dbpath URL as a character string.

Usage

## S3 method for class 'dbpath'
format(x, hide_password = FALSE, ...)

Arguments

x

A dbpath() object to format

hide_password

Replace password with '****' if TRUE. Passwords are hidden by default when printing a dbpath() object, but are revealed when using format() to construct a URL.

...

extra arguments

Value

A character string consisting of a dbpath URL, e.g <dialect>+<driver>://<username>:<password>@<host>:<port>/<database>.


machow/dbpath documentation built on Dec. 30, 2022, 8:52 p.m.