hashicorp / go-dbw

A simple package that encapsulates database operations.
Mozilla Public License 2.0
13 stars 2 forks source link

feature: Add WithTable(...) and WithLogLevel(...) options #6

Closed jimlambrt closed 2 years ago

jimlambrt commented 2 years ago

This allows a table to be optionally specified for the database operation. This change also required changing the signature for RW.LookupWhere so it supported taking options

The PR also support setting the DB log level properly.