Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 672 Bytes

README_OPTIONS.md

File metadata and controls

18 lines (15 loc) · 672 Bytes

Options

Go Reference

dbw supports variadic Option function parameters for the vast majority of its operations. See the dbw package docs for more information about which Option functions are supported for each operation.

// just one example of variadic options: an update 
// using WithVersion and WithDebug options
rw.Update(ctx, &user, dbw.WithVersion(10), dbw.WithDebug(true))