dynamodb

package
v8.0.0-...-36f974d Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// DynamoDBAPI is used to communicate with DynamoDB. It is required.
	// It can be overriden on a table-by-table basis.
	DynamoDBAPI dynamodbiface.DynamoDBAPI

	// DefaultPrefix configures a prefix on all table names. It is required.
	// It can be overriden on a table-by-table basis.
	DefaultPrefix string

	// DefaultWriteCapacityUnits configures a default write capacity when creating tables. It defaults to 1.
	// It can be overriden on a table-by-table basis.
	DefaultWriteCapacityUnits int64

	// DefaultReadCapacityUnits configures a default read capacity when creating tables. It defaults to 1.
	// It can be overriden on a table-by-table basis.
	DefaultReadCapacityUnits int64
	// DeploymentTable configuration.
	DeploymentTable DeploymentTable
	// EventTable configuration.
	EventTable EventTable
	// NoRangeThingWithCompositeAttributesTable configuration.
	NoRangeThingWithCompositeAttributesTable NoRangeThingWithCompositeAttributesTable
	// SimpleThingTable configuration.
	SimpleThingTable SimpleThingTable
	// TeacherSharingRuleTable configuration.
	TeacherSharingRuleTable TeacherSharingRuleTable
	// ThingTable configuration.
	ThingTable ThingTable
	// ThingAllowingBatchWritesTable configuration.
	ThingAllowingBatchWritesTable ThingAllowingBatchWritesTable
	// ThingAllowingBatchWritesWithCompositeAttributesTable configuration.
	ThingAllowingBatchWritesWithCompositeAttributesTable ThingAllowingBatchWritesWithCompositeAttributesTable
	// ThingWithAdditionalAttributesTable configuration.
	ThingWithAdditionalAttributesTable ThingWithAdditionalAttributesTable
	// ThingWithCompositeAttributesTable configuration.
	ThingWithCompositeAttributesTable ThingWithCompositeAttributesTable
	// ThingWithCompositeEnumAttributesTable configuration.
	ThingWithCompositeEnumAttributesTable ThingWithCompositeEnumAttributesTable
	// ThingWithDateRangeTable configuration.
	ThingWithDateRangeTable ThingWithDateRangeTable
	// ThingWithDateTimeCompositeTable configuration.
	ThingWithDateTimeCompositeTable ThingWithDateTimeCompositeTable
	// ThingWithEnumHashKeyTable configuration.
	ThingWithEnumHashKeyTable ThingWithEnumHashKeyTable
	// ThingWithMatchingKeysTable configuration.
	ThingWithMatchingKeysTable ThingWithMatchingKeysTable
	// ThingWithMultiUseCompositeAttributeTable configuration.
	ThingWithMultiUseCompositeAttributeTable ThingWithMultiUseCompositeAttributeTable
	// ThingWithRequiredCompositePropertiesAndKeysOnlyTable configuration.
	ThingWithRequiredCompositePropertiesAndKeysOnlyTable ThingWithRequiredCompositePropertiesAndKeysOnlyTable
	// ThingWithRequiredFieldsTable configuration.
	ThingWithRequiredFieldsTable ThingWithRequiredFieldsTable
	// ThingWithRequiredFields2Table configuration.
	ThingWithRequiredFields2Table ThingWithRequiredFields2Table
	// ThingWithUnderscoresTable configuration.
	ThingWithUnderscoresTable ThingWithUnderscoresTable
}

Config is used to create a new DB struct.

type DB

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

DB implements the database interface using DynamoDB to store data.

func New

func New(config Config) (*DB, error)

New creates a new DB object.

func (DB) CreateTables

func (d DB) CreateTables(ctx context.Context) error

CreateTables creates all tables.

func (DB) DeleteArrayOfThingAllowingBatchWrites

func (d DB) DeleteArrayOfThingAllowingBatchWrites(ctx context.Context, m []models.ThingAllowingBatchWrites) error

DeleteArrayOfThingAllowingBatchWrites batch deletes all items in the ThingAllowingBatchWrites slice in the database.

func (DB) DeleteArrayOfThingAllowingBatchWritesWithCompositeAttributes

func (d DB) DeleteArrayOfThingAllowingBatchWritesWithCompositeAttributes(ctx context.Context, m []models.ThingAllowingBatchWritesWithCompositeAttributes) error

DeleteArrayOfThingAllowingBatchWritesWithCompositeAttributes batch deletes all items in the ThingAllowingBatchWritesWithCompositeAttributes slice in the database.

func (DB) DeleteDeployment

func (d DB) DeleteDeployment(ctx context.Context, environment string, application string, version string) error

DeleteDeployment deletes a Deployment from the database.

func (DB) DeleteEvent

func (d DB) DeleteEvent(ctx context.Context, pk string, sk string) error

DeleteEvent deletes a Event from the database.

func (DB) DeleteNoRangeThingWithCompositeAttributes

func (d DB) DeleteNoRangeThingWithCompositeAttributes(ctx context.Context, name string, branch string) error

DeleteNoRangeThingWithCompositeAttributes deletes a NoRangeThingWithCompositeAttributes from the database.

func (DB) DeleteSimpleThing

func (d DB) DeleteSimpleThing(ctx context.Context, name string) error

DeleteSimpleThing deletes a SimpleThing from the database.

func (DB) DeleteTeacherSharingRule

func (d DB) DeleteTeacherSharingRule(ctx context.Context, teacher string, school string, app string) error

DeleteTeacherSharingRule deletes a TeacherSharingRule from the database.

func (DB) DeleteThing

func (d DB) DeleteThing(ctx context.Context, name string, version int64) error

DeleteThing deletes a Thing from the database.

func (DB) DeleteThingAllowingBatchWrites

func (d DB) DeleteThingAllowingBatchWrites(ctx context.Context, name string, version int64) error

DeleteThingAllowingBatchWrites deletes a ThingAllowingBatchWrites from the database.

func (DB) DeleteThingAllowingBatchWritesWithCompositeAttributes

func (d DB) DeleteThingAllowingBatchWritesWithCompositeAttributes(ctx context.Context, name string, id string, date strfmt.DateTime) error

DeleteThingAllowingBatchWritesWithCompositeAttributes deletes a ThingAllowingBatchWritesWithCompositeAttributes from the database.

func (DB) DeleteThingWithAdditionalAttributes

func (d DB) DeleteThingWithAdditionalAttributes(ctx context.Context, name string, version int64) error

DeleteThingWithAdditionalAttributes deletes a ThingWithAdditionalAttributes from the database.

func (DB) DeleteThingWithCompositeAttributes

func (d DB) DeleteThingWithCompositeAttributes(ctx context.Context, name string, branch string, date strfmt.DateTime) error

DeleteThingWithCompositeAttributes deletes a ThingWithCompositeAttributes from the database.

func (DB) DeleteThingWithCompositeEnumAttributes

func (d DB) DeleteThingWithCompositeEnumAttributes(ctx context.Context, name string, branchID models.Branch, date strfmt.DateTime) error

DeleteThingWithCompositeEnumAttributes deletes a ThingWithCompositeEnumAttributes from the database.

func (DB) DeleteThingWithDateRange

func (d DB) DeleteThingWithDateRange(ctx context.Context, name string, date strfmt.DateTime) error

DeleteThingWithDateRange deletes a ThingWithDateRange from the database.

func (DB) DeleteThingWithDateTimeComposite

func (d DB) DeleteThingWithDateTimeComposite(ctx context.Context, typeVar string, id string, created strfmt.DateTime, resource string) error

DeleteThingWithDateTimeComposite deletes a ThingWithDateTimeComposite from the database.

func (DB) DeleteThingWithEnumHashKey

func (d DB) DeleteThingWithEnumHashKey(ctx context.Context, branch models.Branch, date strfmt.DateTime) error

DeleteThingWithEnumHashKey deletes a ThingWithEnumHashKey from the database.

func (DB) DeleteThingWithMatchingKeys

func (d DB) DeleteThingWithMatchingKeys(ctx context.Context, bear string, assocType string, assocID string) error

DeleteThingWithMatchingKeys deletes a ThingWithMatchingKeys from the database.

func (DB) DeleteThingWithMultiUseCompositeAttribute

func (d DB) DeleteThingWithMultiUseCompositeAttribute(ctx context.Context, one string) error

DeleteThingWithMultiUseCompositeAttribute deletes a ThingWithMultiUseCompositeAttribute from the database.

func (DB) DeleteThingWithRequiredCompositePropertiesAndKeysOnly

func (d DB) DeleteThingWithRequiredCompositePropertiesAndKeysOnly(ctx context.Context, propertyThree string) error

DeleteThingWithRequiredCompositePropertiesAndKeysOnly deletes a ThingWithRequiredCompositePropertiesAndKeysOnly from the database.

func (DB) DeleteThingWithRequiredFields

func (d DB) DeleteThingWithRequiredFields(ctx context.Context, name string) error

DeleteThingWithRequiredFields deletes a ThingWithRequiredFields from the database.

func (DB) DeleteThingWithRequiredFields2

func (d DB) DeleteThingWithRequiredFields2(ctx context.Context, name string, id string) error

DeleteThingWithRequiredFields2 deletes a ThingWithRequiredFields2 from the database.

func (DB) DeleteThingWithUnderscores

func (d DB) DeleteThingWithUnderscores(ctx context.Context, iDApp string) error

DeleteThingWithUnderscores deletes a ThingWithUnderscores from the database.

func (DB) GetDeployment

func (d DB) GetDeployment(ctx context.Context, environment string, application string, version string) (*models.Deployment, error)

GetDeployment retrieves a Deployment from the database.

func (DB) GetDeploymentByVersion

func (d DB) GetDeploymentByVersion(ctx context.Context, version string) (*models.Deployment, error)

GetDeploymentByVersion retrieves a Deployment from the database.

func (DB) GetDeploymentsByEnvAppAndDate

func (d DB) GetDeploymentsByEnvAppAndDate(ctx context.Context, input db.GetDeploymentsByEnvAppAndDateInput, fn func(m *models.Deployment, lastDeployment bool) bool) error

GetDeploymentsByEnvAppAndDate retrieves a page of Deployments from the database.

func (DB) GetDeploymentsByEnvAppAndVersion

func (d DB) GetDeploymentsByEnvAppAndVersion(ctx context.Context, input db.GetDeploymentsByEnvAppAndVersionInput, fn func(m *models.Deployment, lastDeployment bool) bool) error

GetDeploymentsByEnvAppAndVersion retrieves a page of Deployments from the database.

func (DB) GetDeploymentsByEnvironmentAndDate

func (d DB) GetDeploymentsByEnvironmentAndDate(ctx context.Context, input db.GetDeploymentsByEnvironmentAndDateInput, fn func(m *models.Deployment, lastDeployment bool) bool) error

GetDeploymentsByEnvironmentAndDate retrieves a page of Deployments from the database.

func (DB) GetEvent

func (d DB) GetEvent(ctx context.Context, pk string, sk string) (*models.Event, error)

GetEvent retrieves a Event from the database.

func (DB) GetEventsByPkAndSk

func (d DB) GetEventsByPkAndSk(ctx context.Context, input db.GetEventsByPkAndSkInput, fn func(m *models.Event, lastEvent bool) bool) error

GetEventsByPkAndSk retrieves a page of Events from the database.

func (DB) GetEventsBySkAndData

func (d DB) GetEventsBySkAndData(ctx context.Context, input db.GetEventsBySkAndDataInput, fn func(m *models.Event, lastEvent bool) bool) error

GetEventsBySkAndData retrieves a page of Events from the database.

func (DB) GetNoRangeThingWithCompositeAttributes

func (d DB) GetNoRangeThingWithCompositeAttributes(ctx context.Context, name string, branch string) (*models.NoRangeThingWithCompositeAttributes, error)

GetNoRangeThingWithCompositeAttributes retrieves a NoRangeThingWithCompositeAttributes from the database.

func (DB) GetNoRangeThingWithCompositeAttributessByNameVersionAndDate

func (d DB) GetNoRangeThingWithCompositeAttributessByNameVersionAndDate(ctx context.Context, input db.GetNoRangeThingWithCompositeAttributessByNameVersionAndDateInput, fn func(m *models.NoRangeThingWithCompositeAttributes, lastNoRangeThingWithCompositeAttributes bool) bool) error

GetNoRangeThingWithCompositeAttributessByNameVersionAndDate retrieves a page of NoRangeThingWithCompositeAttributess from the database.

func (DB) GetSimpleThing

func (d DB) GetSimpleThing(ctx context.Context, name string) (*models.SimpleThing, error)

GetSimpleThing retrieves a SimpleThing from the database.

func (DB) GetTeacherSharingRule

func (d DB) GetTeacherSharingRule(ctx context.Context, teacher string, school string, app string) (*models.TeacherSharingRule, error)

GetTeacherSharingRule retrieves a TeacherSharingRule from the database.

func (DB) GetTeacherSharingRulesByDistrictAndSchoolTeacherApp

func (d DB) GetTeacherSharingRulesByDistrictAndSchoolTeacherApp(ctx context.Context, input db.GetTeacherSharingRulesByDistrictAndSchoolTeacherAppInput, fn func(m *models.TeacherSharingRule, lastTeacherSharingRule bool) bool) error

GetTeacherSharingRulesByDistrictAndSchoolTeacherApp retrieves a page of TeacherSharingRules from the database.

func (DB) GetTeacherSharingRulesByTeacherAndSchoolApp

func (d DB) GetTeacherSharingRulesByTeacherAndSchoolApp(ctx context.Context, input db.GetTeacherSharingRulesByTeacherAndSchoolAppInput, fn func(m *models.TeacherSharingRule, lastTeacherSharingRule bool) bool) error

GetTeacherSharingRulesByTeacherAndSchoolApp retrieves a page of TeacherSharingRules from the database.

func (DB) GetThing

func (d DB) GetThing(ctx context.Context, name string, version int64) (*models.Thing, error)

GetThing retrieves a Thing from the database.

func (DB) GetThingAllowingBatchWrites

func (d DB) GetThingAllowingBatchWrites(ctx context.Context, name string, version int64) (*models.ThingAllowingBatchWrites, error)

GetThingAllowingBatchWrites retrieves a ThingAllowingBatchWrites from the database.

func (DB) GetThingAllowingBatchWritesWithCompositeAttributes

func (d DB) GetThingAllowingBatchWritesWithCompositeAttributes(ctx context.Context, name string, id string, date strfmt.DateTime) (*models.ThingAllowingBatchWritesWithCompositeAttributes, error)

GetThingAllowingBatchWritesWithCompositeAttributes retrieves a ThingAllowingBatchWritesWithCompositeAttributes from the database.

func (DB) GetThingAllowingBatchWritesWithCompositeAttributessByNameIDAndDate

func (d DB) GetThingAllowingBatchWritesWithCompositeAttributessByNameIDAndDate(ctx context.Context, input db.GetThingAllowingBatchWritesWithCompositeAttributessByNameIDAndDateInput, fn func(m *models.ThingAllowingBatchWritesWithCompositeAttributes, lastThingAllowingBatchWritesWithCompositeAttributes bool) bool) error

GetThingAllowingBatchWritesWithCompositeAttributessByNameIDAndDate retrieves a page of ThingAllowingBatchWritesWithCompositeAttributess from the database.

func (DB) GetThingAllowingBatchWritessByNameAndVersion

func (d DB) GetThingAllowingBatchWritessByNameAndVersion(ctx context.Context, input db.GetThingAllowingBatchWritessByNameAndVersionInput, fn func(m *models.ThingAllowingBatchWrites, lastThingAllowingBatchWrites bool) bool) error

GetThingAllowingBatchWritessByNameAndVersion retrieves a page of ThingAllowingBatchWritess from the database.

func (DB) GetThingByID

func (d DB) GetThingByID(ctx context.Context, id string) (*models.Thing, error)

GetThingByID retrieves a Thing from the database.

func (DB) GetThingWithAdditionalAttributes

func (d DB) GetThingWithAdditionalAttributes(ctx context.Context, name string, version int64) (*models.ThingWithAdditionalAttributes, error)

GetThingWithAdditionalAttributes retrieves a ThingWithAdditionalAttributes from the database.

func (DB) GetThingWithAdditionalAttributesByID

func (d DB) GetThingWithAdditionalAttributesByID(ctx context.Context, id string) (*models.ThingWithAdditionalAttributes, error)

GetThingWithAdditionalAttributesByID retrieves a ThingWithAdditionalAttributes from the database.

func (DB) GetThingWithAdditionalAttributessByHashNullableAndName

func (d DB) GetThingWithAdditionalAttributessByHashNullableAndName(ctx context.Context, input db.GetThingWithAdditionalAttributessByHashNullableAndNameInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

GetThingWithAdditionalAttributessByHashNullableAndName retrieves a page of ThingWithAdditionalAttributess from the database.

func (DB) GetThingWithAdditionalAttributessByNameAndCreatedAt

func (d DB) GetThingWithAdditionalAttributessByNameAndCreatedAt(ctx context.Context, input db.GetThingWithAdditionalAttributessByNameAndCreatedAtInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

GetThingWithAdditionalAttributessByNameAndCreatedAt retrieves a page of ThingWithAdditionalAttributess from the database.

func (DB) GetThingWithAdditionalAttributessByNameAndRangeNullable

func (d DB) GetThingWithAdditionalAttributessByNameAndRangeNullable(ctx context.Context, input db.GetThingWithAdditionalAttributessByNameAndRangeNullableInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

GetThingWithAdditionalAttributessByNameAndRangeNullable retrieves a page of ThingWithAdditionalAttributess from the database.

func (DB) GetThingWithAdditionalAttributessByNameAndVersion

func (d DB) GetThingWithAdditionalAttributessByNameAndVersion(ctx context.Context, input db.GetThingWithAdditionalAttributessByNameAndVersionInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

GetThingWithAdditionalAttributessByNameAndVersion retrieves a page of ThingWithAdditionalAttributess from the database.

func (DB) GetThingWithCompositeAttributes

func (d DB) GetThingWithCompositeAttributes(ctx context.Context, name string, branch string, date strfmt.DateTime) (*models.ThingWithCompositeAttributes, error)

GetThingWithCompositeAttributes retrieves a ThingWithCompositeAttributes from the database.

func (DB) GetThingWithCompositeAttributessByNameBranchAndDate

func (d DB) GetThingWithCompositeAttributessByNameBranchAndDate(ctx context.Context, input db.GetThingWithCompositeAttributessByNameBranchAndDateInput, fn func(m *models.ThingWithCompositeAttributes, lastThingWithCompositeAttributes bool) bool) error

GetThingWithCompositeAttributessByNameBranchAndDate retrieves a page of ThingWithCompositeAttributess from the database.

func (DB) GetThingWithCompositeAttributessByNameVersionAndDate

func (d DB) GetThingWithCompositeAttributessByNameVersionAndDate(ctx context.Context, input db.GetThingWithCompositeAttributessByNameVersionAndDateInput, fn func(m *models.ThingWithCompositeAttributes, lastThingWithCompositeAttributes bool) bool) error

GetThingWithCompositeAttributessByNameVersionAndDate retrieves a page of ThingWithCompositeAttributess from the database.

func (DB) GetThingWithCompositeEnumAttributes

func (d DB) GetThingWithCompositeEnumAttributes(ctx context.Context, name string, branchID models.Branch, date strfmt.DateTime) (*models.ThingWithCompositeEnumAttributes, error)

GetThingWithCompositeEnumAttributes retrieves a ThingWithCompositeEnumAttributes from the database.

func (DB) GetThingWithCompositeEnumAttributessByNameBranchAndDate

func (d DB) GetThingWithCompositeEnumAttributessByNameBranchAndDate(ctx context.Context, input db.GetThingWithCompositeEnumAttributessByNameBranchAndDateInput, fn func(m *models.ThingWithCompositeEnumAttributes, lastThingWithCompositeEnumAttributes bool) bool) error

GetThingWithCompositeEnumAttributessByNameBranchAndDate retrieves a page of ThingWithCompositeEnumAttributess from the database.

func (DB) GetThingWithDateRange

func (d DB) GetThingWithDateRange(ctx context.Context, name string, date strfmt.DateTime) (*models.ThingWithDateRange, error)

GetThingWithDateRange retrieves a ThingWithDateRange from the database.

func (DB) GetThingWithDateRangesByNameAndDate

func (d DB) GetThingWithDateRangesByNameAndDate(ctx context.Context, input db.GetThingWithDateRangesByNameAndDateInput, fn func(m *models.ThingWithDateRange, lastThingWithDateRange bool) bool) error

GetThingWithDateRangesByNameAndDate retrieves a page of ThingWithDateRanges from the database.

func (DB) GetThingWithDateTimeComposite

func (d DB) GetThingWithDateTimeComposite(ctx context.Context, typeVar string, id string, created strfmt.DateTime, resource string) (*models.ThingWithDateTimeComposite, error)

GetThingWithDateTimeComposite retrieves a ThingWithDateTimeComposite from the database.

func (DB) GetThingWithDateTimeCompositesByTypeIDAndCreatedResource

func (d DB) GetThingWithDateTimeCompositesByTypeIDAndCreatedResource(ctx context.Context, input db.GetThingWithDateTimeCompositesByTypeIDAndCreatedResourceInput, fn func(m *models.ThingWithDateTimeComposite, lastThingWithDateTimeComposite bool) bool) error

GetThingWithDateTimeCompositesByTypeIDAndCreatedResource retrieves a page of ThingWithDateTimeComposites from the database.

func (DB) GetThingWithEnumHashKey

func (d DB) GetThingWithEnumHashKey(ctx context.Context, branch models.Branch, date strfmt.DateTime) (*models.ThingWithEnumHashKey, error)

GetThingWithEnumHashKey retrieves a ThingWithEnumHashKey from the database.

func (DB) GetThingWithEnumHashKeysByBranchAndDate

func (d DB) GetThingWithEnumHashKeysByBranchAndDate(ctx context.Context, input db.GetThingWithEnumHashKeysByBranchAndDateInput, fn func(m *models.ThingWithEnumHashKey, lastThingWithEnumHashKey bool) bool) error

GetThingWithEnumHashKeysByBranchAndDate retrieves a page of ThingWithEnumHashKeys from the database.

func (DB) GetThingWithEnumHashKeysByBranchAndDate2

func (d DB) GetThingWithEnumHashKeysByBranchAndDate2(ctx context.Context, input db.GetThingWithEnumHashKeysByBranchAndDate2Input, fn func(m *models.ThingWithEnumHashKey, lastThingWithEnumHashKey bool) bool) error

GetThingWithEnumHashKeysByBranchAndDate2 retrieves a page of ThingWithEnumHashKeys from the database.

func (DB) GetThingWithMatchingKeys

func (d DB) GetThingWithMatchingKeys(ctx context.Context, bear string, assocType string, assocID string) (*models.ThingWithMatchingKeys, error)

GetThingWithMatchingKeys retrieves a ThingWithMatchingKeys from the database.

func (DB) GetThingWithMatchingKeyssByAssocTypeIDAndCreatedBear

func (d DB) GetThingWithMatchingKeyssByAssocTypeIDAndCreatedBear(ctx context.Context, input db.GetThingWithMatchingKeyssByAssocTypeIDAndCreatedBearInput, fn func(m *models.ThingWithMatchingKeys, lastThingWithMatchingKeys bool) bool) error

GetThingWithMatchingKeyssByAssocTypeIDAndCreatedBear retrieves a page of ThingWithMatchingKeyss from the database.

func (DB) GetThingWithMatchingKeyssByBearAndAssocTypeID

func (d DB) GetThingWithMatchingKeyssByBearAndAssocTypeID(ctx context.Context, input db.GetThingWithMatchingKeyssByBearAndAssocTypeIDInput, fn func(m *models.ThingWithMatchingKeys, lastThingWithMatchingKeys bool) bool) error

GetThingWithMatchingKeyssByBearAndAssocTypeID retrieves a page of ThingWithMatchingKeyss from the database.

func (DB) GetThingWithMultiUseCompositeAttribute

func (d DB) GetThingWithMultiUseCompositeAttribute(ctx context.Context, one string) (*models.ThingWithMultiUseCompositeAttribute, error)

GetThingWithMultiUseCompositeAttribute retrieves a ThingWithMultiUseCompositeAttribute from the database.

func (DB) GetThingWithMultiUseCompositeAttributesByFourAndOneTwo

func (d DB) GetThingWithMultiUseCompositeAttributesByFourAndOneTwo(ctx context.Context, input db.GetThingWithMultiUseCompositeAttributesByFourAndOneTwoInput, fn func(m *models.ThingWithMultiUseCompositeAttribute, lastThingWithMultiUseCompositeAttribute bool) bool) error

GetThingWithMultiUseCompositeAttributesByFourAndOneTwo retrieves a page of ThingWithMultiUseCompositeAttributes from the database.

func (DB) GetThingWithMultiUseCompositeAttributesByThreeAndOneTwo

func (d DB) GetThingWithMultiUseCompositeAttributesByThreeAndOneTwo(ctx context.Context, input db.GetThingWithMultiUseCompositeAttributesByThreeAndOneTwoInput, fn func(m *models.ThingWithMultiUseCompositeAttribute, lastThingWithMultiUseCompositeAttribute bool) bool) error

GetThingWithMultiUseCompositeAttributesByThreeAndOneTwo retrieves a page of ThingWithMultiUseCompositeAttributes from the database.

func (DB) GetThingWithRequiredCompositePropertiesAndKeysOnly

func (d DB) GetThingWithRequiredCompositePropertiesAndKeysOnly(ctx context.Context, propertyThree string) (*models.ThingWithRequiredCompositePropertiesAndKeysOnly, error)

GetThingWithRequiredCompositePropertiesAndKeysOnly retrieves a ThingWithRequiredCompositePropertiesAndKeysOnly from the database.

func (DB) GetThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree

func (d DB) GetThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree(ctx context.Context, input db.GetThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThreeInput, fn func(m *models.ThingWithRequiredCompositePropertiesAndKeysOnly, lastThingWithRequiredCompositePropertiesAndKeysOnly bool) bool) error

GetThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree retrieves a page of ThingWithRequiredCompositePropertiesAndKeysOnlys from the database.

func (DB) GetThingWithRequiredFields

func (d DB) GetThingWithRequiredFields(ctx context.Context, name string) (*models.ThingWithRequiredFields, error)

GetThingWithRequiredFields retrieves a ThingWithRequiredFields from the database.

func (DB) GetThingWithRequiredFields2

func (d DB) GetThingWithRequiredFields2(ctx context.Context, name string, id string) (*models.ThingWithRequiredFields2, error)

GetThingWithRequiredFields2 retrieves a ThingWithRequiredFields2 from the database.

func (DB) GetThingWithRequiredFields2sByNameAndID

func (d DB) GetThingWithRequiredFields2sByNameAndID(ctx context.Context, input db.GetThingWithRequiredFields2sByNameAndIDInput, fn func(m *models.ThingWithRequiredFields2, lastThingWithRequiredFields2 bool) bool) error

GetThingWithRequiredFields2sByNameAndID retrieves a page of ThingWithRequiredFields2s from the database.

func (DB) GetThingWithUnderscores

func (d DB) GetThingWithUnderscores(ctx context.Context, iDApp string) (*models.ThingWithUnderscores, error)

GetThingWithUnderscores retrieves a ThingWithUnderscores from the database.

func (DB) GetThingsByHashNullableAndName

func (d DB) GetThingsByHashNullableAndName(ctx context.Context, input db.GetThingsByHashNullableAndNameInput, fn func(m *models.Thing, lastThing bool) bool) error

GetThingsByHashNullableAndName retrieves a page of Things from the database.

func (DB) GetThingsByNameAndCreatedAt

func (d DB) GetThingsByNameAndCreatedAt(ctx context.Context, input db.GetThingsByNameAndCreatedAtInput, fn func(m *models.Thing, lastThing bool) bool) error

GetThingsByNameAndCreatedAt retrieves a page of Things from the database.

func (DB) GetThingsByNameAndRangeNullable

func (d DB) GetThingsByNameAndRangeNullable(ctx context.Context, input db.GetThingsByNameAndRangeNullableInput, fn func(m *models.Thing, lastThing bool) bool) error

GetThingsByNameAndRangeNullable retrieves a page of Things from the database.

func (DB) GetThingsByNameAndVersion

func (d DB) GetThingsByNameAndVersion(ctx context.Context, input db.GetThingsByNameAndVersionInput, fn func(m *models.Thing, lastThing bool) bool) error

GetThingsByNameAndVersion retrieves a page of Things from the database.

func (DB) SaveArrayOfThingAllowingBatchWrites

func (d DB) SaveArrayOfThingAllowingBatchWrites(ctx context.Context, m []models.ThingAllowingBatchWrites) error

SaveArrayOfThingAllowingBatchWrites batch saves all items in the ThingAllowingBatchWrites slice to the database.

func (DB) SaveArrayOfThingAllowingBatchWritesWithCompositeAttributes

func (d DB) SaveArrayOfThingAllowingBatchWritesWithCompositeAttributes(ctx context.Context, m []models.ThingAllowingBatchWritesWithCompositeAttributes) error

SaveArrayOfThingAllowingBatchWritesWithCompositeAttributes batch saves all items in the ThingAllowingBatchWritesWithCompositeAttributes slice to the database.

func (DB) SaveDeployment

func (d DB) SaveDeployment(ctx context.Context, m models.Deployment) error

SaveDeployment saves a Deployment to the database.

func (DB) SaveEvent

func (d DB) SaveEvent(ctx context.Context, m models.Event) error

SaveEvent saves a Event to the database.

func (DB) SaveNoRangeThingWithCompositeAttributes

func (d DB) SaveNoRangeThingWithCompositeAttributes(ctx context.Context, m models.NoRangeThingWithCompositeAttributes) error

SaveNoRangeThingWithCompositeAttributes saves a NoRangeThingWithCompositeAttributes to the database.

func (DB) SaveSimpleThing

func (d DB) SaveSimpleThing(ctx context.Context, m models.SimpleThing) error

SaveSimpleThing saves a SimpleThing to the database.

func (DB) SaveTeacherSharingRule

func (d DB) SaveTeacherSharingRule(ctx context.Context, m models.TeacherSharingRule) error

SaveTeacherSharingRule saves a TeacherSharingRule to the database.

func (DB) SaveThing

func (d DB) SaveThing(ctx context.Context, m models.Thing) error

SaveThing saves a Thing to the database.

func (DB) SaveThingAllowingBatchWrites

func (d DB) SaveThingAllowingBatchWrites(ctx context.Context, m models.ThingAllowingBatchWrites) error

SaveThingAllowingBatchWrites saves a ThingAllowingBatchWrites to the database.

func (DB) SaveThingAllowingBatchWritesWithCompositeAttributes

func (d DB) SaveThingAllowingBatchWritesWithCompositeAttributes(ctx context.Context, m models.ThingAllowingBatchWritesWithCompositeAttributes) error

SaveThingAllowingBatchWritesWithCompositeAttributes saves a ThingAllowingBatchWritesWithCompositeAttributes to the database.

func (DB) SaveThingWithAdditionalAttributes

func (d DB) SaveThingWithAdditionalAttributes(ctx context.Context, m models.ThingWithAdditionalAttributes) error

SaveThingWithAdditionalAttributes saves a ThingWithAdditionalAttributes to the database.

func (DB) SaveThingWithCompositeAttributes

func (d DB) SaveThingWithCompositeAttributes(ctx context.Context, m models.ThingWithCompositeAttributes) error

SaveThingWithCompositeAttributes saves a ThingWithCompositeAttributes to the database.

func (DB) SaveThingWithCompositeEnumAttributes

func (d DB) SaveThingWithCompositeEnumAttributes(ctx context.Context, m models.ThingWithCompositeEnumAttributes) error

SaveThingWithCompositeEnumAttributes saves a ThingWithCompositeEnumAttributes to the database.

func (DB) SaveThingWithDateRange

func (d DB) SaveThingWithDateRange(ctx context.Context, m models.ThingWithDateRange) error

SaveThingWithDateRange saves a ThingWithDateRange to the database.

func (DB) SaveThingWithDateTimeComposite

func (d DB) SaveThingWithDateTimeComposite(ctx context.Context, m models.ThingWithDateTimeComposite) error

SaveThingWithDateTimeComposite saves a ThingWithDateTimeComposite to the database.

func (DB) SaveThingWithEnumHashKey

func (d DB) SaveThingWithEnumHashKey(ctx context.Context, m models.ThingWithEnumHashKey) error

SaveThingWithEnumHashKey saves a ThingWithEnumHashKey to the database.

func (DB) SaveThingWithMatchingKeys

func (d DB) SaveThingWithMatchingKeys(ctx context.Context, m models.ThingWithMatchingKeys) error

SaveThingWithMatchingKeys saves a ThingWithMatchingKeys to the database.

func (DB) SaveThingWithMultiUseCompositeAttribute

func (d DB) SaveThingWithMultiUseCompositeAttribute(ctx context.Context, m models.ThingWithMultiUseCompositeAttribute) error

SaveThingWithMultiUseCompositeAttribute saves a ThingWithMultiUseCompositeAttribute to the database.

func (DB) SaveThingWithRequiredCompositePropertiesAndKeysOnly

func (d DB) SaveThingWithRequiredCompositePropertiesAndKeysOnly(ctx context.Context, m models.ThingWithRequiredCompositePropertiesAndKeysOnly) error

SaveThingWithRequiredCompositePropertiesAndKeysOnly saves a ThingWithRequiredCompositePropertiesAndKeysOnly to the database.

func (DB) SaveThingWithRequiredFields

func (d DB) SaveThingWithRequiredFields(ctx context.Context, m models.ThingWithRequiredFields) error

SaveThingWithRequiredFields saves a ThingWithRequiredFields to the database.

func (DB) SaveThingWithRequiredFields2

func (d DB) SaveThingWithRequiredFields2(ctx context.Context, m models.ThingWithRequiredFields2) error

SaveThingWithRequiredFields2 saves a ThingWithRequiredFields2 to the database.

func (DB) SaveThingWithUnderscores

func (d DB) SaveThingWithUnderscores(ctx context.Context, m models.ThingWithUnderscores) error

SaveThingWithUnderscores saves a ThingWithUnderscores to the database.

func (DB) ScanDeployments

func (d DB) ScanDeployments(ctx context.Context, input db.ScanDeploymentsInput, fn func(m *models.Deployment, lastDeployment bool) bool) error

ScanDeployments runs a scan on the Deployments table.

func (DB) ScanDeploymentsByEnvAppAndDate

func (d DB) ScanDeploymentsByEnvAppAndDate(ctx context.Context, input db.ScanDeploymentsByEnvAppAndDateInput, fn func(m *models.Deployment, lastDeployment bool) bool) error

ScanDeploymentsByEnvAppAndDate runs a scan on the EnvAppAndDate index.

func (DB) ScanDeploymentsByVersion

func (d DB) ScanDeploymentsByVersion(ctx context.Context, input db.ScanDeploymentsByVersionInput, fn func(m *models.Deployment, lastDeployment bool) bool) error

ScanDeploymentsByVersion runs a scan on the Version index.

func (DB) ScanEvents

func (d DB) ScanEvents(ctx context.Context, input db.ScanEventsInput, fn func(m *models.Event, lastEvent bool) bool) error

ScanEvents runs a scan on the Events table.

func (DB) ScanEventsBySkAndData

func (d DB) ScanEventsBySkAndData(ctx context.Context, input db.ScanEventsBySkAndDataInput, fn func(m *models.Event, lastEvent bool) bool) error

ScanEventsBySkAndData runs a scan on the SkAndData index.

func (DB) ScanNoRangeThingWithCompositeAttributess

func (d DB) ScanNoRangeThingWithCompositeAttributess(ctx context.Context, input db.ScanNoRangeThingWithCompositeAttributessInput, fn func(m *models.NoRangeThingWithCompositeAttributes, lastNoRangeThingWithCompositeAttributes bool) bool) error

ScanNoRangeThingWithCompositeAttributess runs a scan on the NoRangeThingWithCompositeAttributess table.

func (DB) ScanNoRangeThingWithCompositeAttributessByNameVersionAndDate

func (d DB) ScanNoRangeThingWithCompositeAttributessByNameVersionAndDate(ctx context.Context, input db.ScanNoRangeThingWithCompositeAttributessByNameVersionAndDateInput, fn func(m *models.NoRangeThingWithCompositeAttributes, lastNoRangeThingWithCompositeAttributes bool) bool) error

ScanNoRangeThingWithCompositeAttributessByNameVersionAndDate runs a scan on the NameVersionAndDate index.

func (DB) ScanSimpleThings

func (d DB) ScanSimpleThings(ctx context.Context, input db.ScanSimpleThingsInput, fn func(m *models.SimpleThing, lastSimpleThing bool) bool) error

ScanSimpleThings runs a scan on the SimpleThings table.

func (DB) ScanTeacherSharingRules

func (d DB) ScanTeacherSharingRules(ctx context.Context, input db.ScanTeacherSharingRulesInput, fn func(m *models.TeacherSharingRule, lastTeacherSharingRule bool) bool) error

ScanTeacherSharingRules runs a scan on the TeacherSharingRules table.

func (DB) ScanTeacherSharingRulesByDistrictAndSchoolTeacherApp

func (d DB) ScanTeacherSharingRulesByDistrictAndSchoolTeacherApp(ctx context.Context, input db.ScanTeacherSharingRulesByDistrictAndSchoolTeacherAppInput, fn func(m *models.TeacherSharingRule, lastTeacherSharingRule bool) bool) error

ScanTeacherSharingRulesByDistrictAndSchoolTeacherApp runs a scan on the DistrictAndSchoolTeacherApp index.

func (DB) ScanThingAllowingBatchWritesWithCompositeAttributess

func (d DB) ScanThingAllowingBatchWritesWithCompositeAttributess(ctx context.Context, input db.ScanThingAllowingBatchWritesWithCompositeAttributessInput, fn func(m *models.ThingAllowingBatchWritesWithCompositeAttributes, lastThingAllowingBatchWritesWithCompositeAttributes bool) bool) error

ScanThingAllowingBatchWritesWithCompositeAttributess runs a scan on the ThingAllowingBatchWritesWithCompositeAttributess table.

func (DB) ScanThingAllowingBatchWritess

func (d DB) ScanThingAllowingBatchWritess(ctx context.Context, input db.ScanThingAllowingBatchWritessInput, fn func(m *models.ThingAllowingBatchWrites, lastThingAllowingBatchWrites bool) bool) error

ScanThingAllowingBatchWritess runs a scan on the ThingAllowingBatchWritess table.

func (DB) ScanThingWithAdditionalAttributess

func (d DB) ScanThingWithAdditionalAttributess(ctx context.Context, input db.ScanThingWithAdditionalAttributessInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

ScanThingWithAdditionalAttributess runs a scan on the ThingWithAdditionalAttributess table.

func (DB) ScanThingWithAdditionalAttributessByID

func (d DB) ScanThingWithAdditionalAttributessByID(ctx context.Context, input db.ScanThingWithAdditionalAttributessByIDInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

ScanThingWithAdditionalAttributessByID runs a scan on the ID index.

func (DB) ScanThingWithAdditionalAttributessByNameAndCreatedAt

func (d DB) ScanThingWithAdditionalAttributessByNameAndCreatedAt(ctx context.Context, input db.ScanThingWithAdditionalAttributessByNameAndCreatedAtInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

ScanThingWithAdditionalAttributessByNameAndCreatedAt runs a scan on the NameAndCreatedAt index.

func (DB) ScanThingWithAdditionalAttributessByNameAndRangeNullable

func (d DB) ScanThingWithAdditionalAttributessByNameAndRangeNullable(ctx context.Context, input db.ScanThingWithAdditionalAttributessByNameAndRangeNullableInput, fn func(m *models.ThingWithAdditionalAttributes, lastThingWithAdditionalAttributes bool) bool) error

ScanThingWithAdditionalAttributessByNameAndRangeNullable runs a scan on the NameAndRangeNullable index.

func (DB) ScanThingWithCompositeAttributess

func (d DB) ScanThingWithCompositeAttributess(ctx context.Context, input db.ScanThingWithCompositeAttributessInput, fn func(m *models.ThingWithCompositeAttributes, lastThingWithCompositeAttributes bool) bool) error

ScanThingWithCompositeAttributess runs a scan on the ThingWithCompositeAttributess table.

func (DB) ScanThingWithCompositeAttributessByNameVersionAndDate

func (d DB) ScanThingWithCompositeAttributessByNameVersionAndDate(ctx context.Context, input db.ScanThingWithCompositeAttributessByNameVersionAndDateInput, fn func(m *models.ThingWithCompositeAttributes, lastThingWithCompositeAttributes bool) bool) error

ScanThingWithCompositeAttributessByNameVersionAndDate runs a scan on the NameVersionAndDate index.

func (DB) ScanThingWithCompositeEnumAttributess

func (d DB) ScanThingWithCompositeEnumAttributess(ctx context.Context, input db.ScanThingWithCompositeEnumAttributessInput, fn func(m *models.ThingWithCompositeEnumAttributes, lastThingWithCompositeEnumAttributes bool) bool) error

ScanThingWithCompositeEnumAttributess runs a scan on the ThingWithCompositeEnumAttributess table.

func (DB) ScanThingWithDateRanges

func (d DB) ScanThingWithDateRanges(ctx context.Context, input db.ScanThingWithDateRangesInput, fn func(m *models.ThingWithDateRange, lastThingWithDateRange bool) bool) error

ScanThingWithDateRanges runs a scan on the ThingWithDateRanges table.

func (DB) ScanThingWithDateTimeComposites

func (d DB) ScanThingWithDateTimeComposites(ctx context.Context, input db.ScanThingWithDateTimeCompositesInput, fn func(m *models.ThingWithDateTimeComposite, lastThingWithDateTimeComposite bool) bool) error

ScanThingWithDateTimeComposites runs a scan on the ThingWithDateTimeComposites table.

func (DB) ScanThingWithEnumHashKeys

func (d DB) ScanThingWithEnumHashKeys(ctx context.Context, input db.ScanThingWithEnumHashKeysInput, fn func(m *models.ThingWithEnumHashKey, lastThingWithEnumHashKey bool) bool) error

ScanThingWithEnumHashKeys runs a scan on the ThingWithEnumHashKeys table.

func (DB) ScanThingWithEnumHashKeysByBranchAndDate2

func (d DB) ScanThingWithEnumHashKeysByBranchAndDate2(ctx context.Context, input db.ScanThingWithEnumHashKeysByBranchAndDate2Input, fn func(m *models.ThingWithEnumHashKey, lastThingWithEnumHashKey bool) bool) error

ScanThingWithEnumHashKeysByBranchAndDate2 runs a scan on the BranchAndDate2 index.

func (DB) ScanThingWithMatchingKeyss

func (d DB) ScanThingWithMatchingKeyss(ctx context.Context, input db.ScanThingWithMatchingKeyssInput, fn func(m *models.ThingWithMatchingKeys, lastThingWithMatchingKeys bool) bool) error

ScanThingWithMatchingKeyss runs a scan on the ThingWithMatchingKeyss table.

func (DB) ScanThingWithMatchingKeyssByAssocTypeIDAndCreatedBear

func (d DB) ScanThingWithMatchingKeyssByAssocTypeIDAndCreatedBear(ctx context.Context, input db.ScanThingWithMatchingKeyssByAssocTypeIDAndCreatedBearInput, fn func(m *models.ThingWithMatchingKeys, lastThingWithMatchingKeys bool) bool) error

ScanThingWithMatchingKeyssByAssocTypeIDAndCreatedBear runs a scan on the AssocTypeIDAndCreatedBear index.

func (DB) ScanThingWithMultiUseCompositeAttributes

func (d DB) ScanThingWithMultiUseCompositeAttributes(ctx context.Context, input db.ScanThingWithMultiUseCompositeAttributesInput, fn func(m *models.ThingWithMultiUseCompositeAttribute, lastThingWithMultiUseCompositeAttribute bool) bool) error

ScanThingWithMultiUseCompositeAttributes runs a scan on the ThingWithMultiUseCompositeAttributes table.

func (DB) ScanThingWithMultiUseCompositeAttributesByFourAndOneTwo

func (d DB) ScanThingWithMultiUseCompositeAttributesByFourAndOneTwo(ctx context.Context, input db.ScanThingWithMultiUseCompositeAttributesByFourAndOneTwoInput, fn func(m *models.ThingWithMultiUseCompositeAttribute, lastThingWithMultiUseCompositeAttribute bool) bool) error

ScanThingWithMultiUseCompositeAttributesByFourAndOneTwo runs a scan on the FourAndOneTwo index.

func (DB) ScanThingWithMultiUseCompositeAttributesByThreeAndOneTwo

func (d DB) ScanThingWithMultiUseCompositeAttributesByThreeAndOneTwo(ctx context.Context, input db.ScanThingWithMultiUseCompositeAttributesByThreeAndOneTwoInput, fn func(m *models.ThingWithMultiUseCompositeAttribute, lastThingWithMultiUseCompositeAttribute bool) bool) error

ScanThingWithMultiUseCompositeAttributesByThreeAndOneTwo runs a scan on the ThreeAndOneTwo index.

func (DB) ScanThingWithRequiredCompositePropertiesAndKeysOnlys

func (d DB) ScanThingWithRequiredCompositePropertiesAndKeysOnlys(ctx context.Context, input db.ScanThingWithRequiredCompositePropertiesAndKeysOnlysInput, fn func(m *models.ThingWithRequiredCompositePropertiesAndKeysOnly, lastThingWithRequiredCompositePropertiesAndKeysOnly bool) bool) error

ScanThingWithRequiredCompositePropertiesAndKeysOnlys runs a scan on the ThingWithRequiredCompositePropertiesAndKeysOnlys table.

func (DB) ScanThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree

func (d DB) ScanThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree(ctx context.Context, input db.ScanThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThreeInput, fn func(m *models.ThingWithRequiredCompositePropertiesAndKeysOnly, lastThingWithRequiredCompositePropertiesAndKeysOnly bool) bool) error

ScanThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree runs a scan on the PropertyOneAndTwoAndPropertyThree index.

func (DB) ScanThingWithRequiredFields2s

func (d DB) ScanThingWithRequiredFields2s(ctx context.Context, input db.ScanThingWithRequiredFields2sInput, fn func(m *models.ThingWithRequiredFields2, lastThingWithRequiredFields2 bool) bool) error

ScanThingWithRequiredFields2s runs a scan on the ThingWithRequiredFields2s table.

func (DB) ScanThingWithRequiredFieldss

func (d DB) ScanThingWithRequiredFieldss(ctx context.Context, input db.ScanThingWithRequiredFieldssInput, fn func(m *models.ThingWithRequiredFields, lastThingWithRequiredFields bool) bool) error

ScanThingWithRequiredFieldss runs a scan on the ThingWithRequiredFieldss table.

func (DB) ScanThings

func (d DB) ScanThings(ctx context.Context, input db.ScanThingsInput, fn func(m *models.Thing, lastThing bool) bool) error

ScanThings runs a scan on the Things table.

func (DB) ScanThingsByID

func (d DB) ScanThingsByID(ctx context.Context, input db.ScanThingsByIDInput, fn func(m *models.Thing, lastThing bool) bool) error

ScanThingsByID runs a scan on the ID index.

func (DB) ScanThingsByNameAndCreatedAt

func (d DB) ScanThingsByNameAndCreatedAt(ctx context.Context, input db.ScanThingsByNameAndCreatedAtInput, fn func(m *models.Thing, lastThing bool) bool) error

ScanThingsByNameAndCreatedAt runs a scan on the NameAndCreatedAt index.

func (DB) ScanThingsByNameAndRangeNullable

func (d DB) ScanThingsByNameAndRangeNullable(ctx context.Context, input db.ScanThingsByNameAndRangeNullableInput, fn func(m *models.Thing, lastThing bool) bool) error

ScanThingsByNameAndRangeNullable runs a scan on the NameAndRangeNullable index.

type DeploymentTable

type DeploymentTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

DeploymentTable represents the user-configurable properties of the Deployment table.

type EventTable

type EventTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

EventTable represents the user-configurable properties of the Event table.

type NoRangeThingWithCompositeAttributesTable

type NoRangeThingWithCompositeAttributesTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

NoRangeThingWithCompositeAttributesTable represents the user-configurable properties of the NoRangeThingWithCompositeAttributes table.

type SimpleThingTable

type SimpleThingTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

SimpleThingTable represents the user-configurable properties of the SimpleThing table.

type TeacherSharingRuleTable

type TeacherSharingRuleTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

TeacherSharingRuleTable represents the user-configurable properties of the TeacherSharingRule table.

type ThingAllowingBatchWritesTable

type ThingAllowingBatchWritesTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingAllowingBatchWritesTable represents the user-configurable properties of the ThingAllowingBatchWrites table.

type ThingAllowingBatchWritesWithCompositeAttributesTable

type ThingAllowingBatchWritesWithCompositeAttributesTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingAllowingBatchWritesWithCompositeAttributesTable represents the user-configurable properties of the ThingAllowingBatchWritesWithCompositeAttributes table.

type ThingTable

type ThingTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingTable represents the user-configurable properties of the Thing table.

type ThingWithAdditionalAttributesTable

type ThingWithAdditionalAttributesTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithAdditionalAttributesTable represents the user-configurable properties of the ThingWithAdditionalAttributes table.

type ThingWithCompositeAttributesTable

type ThingWithCompositeAttributesTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithCompositeAttributesTable represents the user-configurable properties of the ThingWithCompositeAttributes table.

type ThingWithCompositeEnumAttributesTable

type ThingWithCompositeEnumAttributesTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithCompositeEnumAttributesTable represents the user-configurable properties of the ThingWithCompositeEnumAttributes table.

type ThingWithDateRangeTable

type ThingWithDateRangeTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithDateRangeTable represents the user-configurable properties of the ThingWithDateRange table.

type ThingWithDateTimeCompositeTable

type ThingWithDateTimeCompositeTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithDateTimeCompositeTable represents the user-configurable properties of the ThingWithDateTimeComposite table.

type ThingWithEnumHashKeyTable

type ThingWithEnumHashKeyTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithEnumHashKeyTable represents the user-configurable properties of the ThingWithEnumHashKey table.

type ThingWithMatchingKeysTable

type ThingWithMatchingKeysTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithMatchingKeysTable represents the user-configurable properties of the ThingWithMatchingKeys table.

type ThingWithMultiUseCompositeAttributeTable

type ThingWithMultiUseCompositeAttributeTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithMultiUseCompositeAttributeTable represents the user-configurable properties of the ThingWithMultiUseCompositeAttribute table.

type ThingWithRequiredCompositePropertiesAndKeysOnlyTable

type ThingWithRequiredCompositePropertiesAndKeysOnlyTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithRequiredCompositePropertiesAndKeysOnlyTable represents the user-configurable properties of the ThingWithRequiredCompositePropertiesAndKeysOnly table.

type ThingWithRequiredFields2Table

type ThingWithRequiredFields2Table struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithRequiredFields2Table represents the user-configurable properties of the ThingWithRequiredFields2 table.

type ThingWithRequiredFieldsTable

type ThingWithRequiredFieldsTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithRequiredFieldsTable represents the user-configurable properties of the ThingWithRequiredFields table.

type ThingWithUnderscoresTable

type ThingWithUnderscoresTable struct {
	DynamoDBAPI        dynamodbiface.DynamoDBAPI
	Prefix             string
	TableName          string
	ReadCapacityUnits  int64
	WriteCapacityUnits int64
}

ThingWithUnderscoresTable represents the user-configurable properties of the ThingWithUnderscores table.

Jump to

Keyboard shortcuts

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