mysql

package
v1.65.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope struct {
	Runtime *env.Runtime
}

Scope provides data access to MySQL.

func (Scope) GetDocumentPages

func (s Scope) GetDocumentPages(ctx domain.RequestContext, documentID string) (p []page.Page, err error)

GetDocumentPages returns a slice containing all published page records for a given documentID, in presentation sequence.

func (Scope) GetDocumentsID

func (s Scope) GetDocumentsID(ctx domain.RequestContext) (documents []string, err error)

GetDocumentsID returns every document ID value stored. The query runs at the instance level across all tenants.

func (Scope) SearchIndexCount

func (s Scope) SearchIndexCount(ctx domain.RequestContext) (c int, err error)

SearchIndexCount returns the numnber of index entries.

Jump to

Keyboard shortcuts

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