mysql

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: AGPL-3.0 Imports: 14 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) Add

func (s Scope) Add(ctx domain.RequestContext, page page.Page) (err error)

Add search entry (legacy name: searchAdd).

func (Scope) Delete

func (s Scope) Delete(ctx domain.RequestContext, page page.Page) (err error)

Delete ... (legacy name: searchDelete).

func (Scope) DeleteDocument

func (s Scope) DeleteDocument(ctx domain.RequestContext, page page.Page) (err error)

DeleteDocument removes document search entries (legacy name: searchDeleteDocument)

func (Scope) Documents

func (s Scope) Documents(ctx domain.RequestContext, keywords string) (results []search.DocumentSearch, err error)

Documents searches the documents that the client is allowed to see, using the keywords search string, then audits that search. Visible documents include both those in the client's own organisation and those that are public, or whose visibility includes the client.

func (Scope) Rebuild

func (s Scope) Rebuild(ctx domain.RequestContext, p page.Page) (err error)

Rebuild ... (legacy name: searchRebuild)

func (Scope) Update

func (s Scope) Update(ctx domain.RequestContext, page page.Page) (err error)

Update search entry (legacy name: searchUpdate).

func (Scope) UpdateDocument

func (s Scope) UpdateDocument(ctx domain.RequestContext, page page.Page) (err error)

UpdateDocument search entries for document (legacy name: searchUpdateDocument).

func (Scope) UpdateLevel

func (s Scope) UpdateLevel(ctx domain.RequestContext, page page.Page) (err error)

UpdateLevel ... legacy name: searchUpdateLevel)

func (Scope) UpdateSequence

func (s Scope) UpdateSequence(ctx domain.RequestContext, page page.Page) (err error)

UpdateSequence ... (legacy name: searchUpdateSequence)

Jump to

Keyboard shortcuts

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