Versions in this module Expand all Collapse all v1 v1.0.0 Nov 20, 2021 Changes in this version + func NewOpen(opts ...Option) (*sql.DB, error) + type Conn struct + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) BeginTx(ctx context.Context, _ driver.TxOptions) (driver.Tx, error) + func (c *Conn) Close() error + func (c *Conn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) + func (c *Conn) Prepare(query string) (driver.Stmt, error) + func (c *Conn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + func (c *Conn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) + type Driver struct + func (d *Driver) Open(_ string) (driver.Conn, error) + type Option interface + func WithContinueAfterTimeout(c bool) Option + func WithDataServiceApiOption(dataServiceApi rdsdataserviceiface.RDSDataServiceAPI) Option + func WithDatabase(c string) Option + func WithDatabaseType(c string) Option + func WithResourceArn(c string) Option + func WithSchema(c string) Option + func WithSecretArn(c string) Option + type Result struct + func (r *Result) Close() error + func (r *Result) Columns() []string + func (r *Result) LastInsertId() (int64, error) + func (r *Result) Next(dest []driver.Value) error + func (r *Result) RowsAffected() (int64, error) + type Stmt struct + func (s *Stmt) Close() error + func (s *Stmt) Exec(_ []driver.Value) (driver.Result, error) + func (s *Stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (s *Stmt) NumInput() int + func (s *Stmt) Query(_ []driver.Value) (driver.Rows, error) + func (s *Stmt) QueryContext(_ context.Context, _ []driver.NamedValue) (driver.Rows, error) + type Tx struct + func (t *Tx) Commit() error + func (t *Tx) Rollback() error