dynamodb

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: BSD-2-Clause, MIT Imports: 9 Imported by: 0

README

dynamodb GoDoc

import "github.com/guregu/predicates/dynamodb"

DynamoDB client for ichiban/prolog. Very experimental, still playing around with the API.

Implemented

  • list_tables/1
  • scan/2
  • get_item/3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dynamo

type Dynamo struct {
	// contains filtered or unexported fields
}

func New

func New(db *dynamo.DB) Dynamo

func (Dynamo) Bootstrap

func (d Dynamo) Bootstrap(p *prolog.Interpreter)

func (Dynamo) GetItem3

func (d Dynamo) GetItem3(table, keys, item engine.Term, k func(*engine.Env) *engine.Promise, env *engine.Env) *engine.Promise

func (Dynamo) ListTables

func (d Dynamo) ListTables(name engine.Term, k func(*engine.Env) *engine.Promise, env *engine.Env) *engine.Promise

func (Dynamo) Register

func (d Dynamo) Register(p *prolog.Interpreter)

func (Dynamo) Scan

func (d Dynamo) Scan(table, item engine.Term, k func(*engine.Env) *engine.Promise, env *engine.Env) *engine.Promise

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL