Documentation ¶
Overview ¶
Package db is used for database access.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection to DynamoDB.
func (*Connection) Execute ¶
func (c *Connection) Execute(stmt string, params []interface{}, results interface{}) error
Execute a PartiQL query.
func (*Connection) Get ¶
func (c *Connection) Get(table string, keys map[string]interface{}, result interface{}) error
Get an item from a table.
func (*Connection) Put ¶
func (c *Connection) Put(table string, i interface{}) error
Put an item into a table.
Click to show internal directories.
Click to hide internal directories.