sheet

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sheet

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

func New

func New(tableHub dyndb.DataTableHub, handle *handle.Handle, source string, tenantId string, group string) *Sheet

func (*Sheet) DeleteRowWithCell

func (s *Sheet) DeleteRowWithCell(txid uint32, sid, rid int64, userId string) error

func (*Sheet) DeleteSheet

func (s *Sheet) DeleteSheet(txid uint32, id int64, userId string) error

func (*Sheet) DeleteSheetColumn

func (s *Sheet) DeleteSheetColumn(txid uint32, sid, cid int64, userId string) error

func (*Sheet) ExportSheets

func (s *Sheet) ExportSheets(txid uint32, opts dyndb.ExportOptions) (*dyndb.ExportData, error)

func (*Sheet) FTSQuery

func (s *Sheet) FTSQuery(txid uint32, req *dyndb.FTSQuerySheet) (*dyndb.QuerySheetResp, error)

func (*Sheet) GetRowHistory

func (s *Sheet) GetRowHistory(rowid int64) ([]*entities.DynActivity, error)

func (*Sheet) GetRowRelations

func (s *Sheet) GetRowRelations(txid uint32, sid, rid, refsheet, refcol int64) (*dyndb.Relation, error)

func (*Sheet) GetSheet

func (s *Sheet) GetSheet(txid uint32, id int64) (map[string]any, error)

func (*Sheet) GetSheetColumn

func (s *Sheet) GetSheetColumn(txid uint32, sid, cid int64) (map[string]any, error)

func (*Sheet) ImportSheets

func (s *Sheet) ImportSheets(txid uint32, opts dyndb.ImportOptions, data *dyndb.ExportData) error

func (*Sheet) ListSheet

func (s *Sheet) ListSheet(txid uint32) ([]map[string]any, error)

func (*Sheet) ListSheetColumn

func (s *Sheet) ListSheetColumn(txid uint32, sid int64) ([]map[string]any, error)

func (*Sheet) ListSheetGroup

func (s *Sheet) ListSheetGroup(txid uint32) (*dyndb.ListSheetGroupResp, error)

func (*Sheet) LoadSheet

func (s *Sheet) LoadSheet(txid uint32, data *dyndb.LoadSheetReq) (*dyndb.LoadSheetResp, error)

func (*Sheet) NewRowWithCell

func (s *Sheet) NewRowWithCell(txid uint32, sid int64, userId string, data map[int64]map[string]any) ([]map[string]any, error)

func (*Sheet) NewSheet

func (s *Sheet) NewSheet(txid uint32, userId string, data map[string]any) error

func (*Sheet) NewSheetColumn

func (s *Sheet) NewSheetColumn(txid uint32, sid int64, userId string, data map[string]any) (int64, error)

func (*Sheet) Query

func (s *Sheet) Query(txid uint32, data *dyndb.QuerySheetReq) (*dyndb.QuerySheetResp, error)

func (*Sheet) RefQuery

func (s *Sheet) RefQuery(txid uint32, data *dyndb.RefQuerySheet) (*dyndb.QuerySheetResp, error)

func (*Sheet) UpdateRowWithCell

func (s *Sheet) UpdateRowWithCell(txid uint32, sid, rid int64, userId string, data map[int64]map[string]any) ([]map[string]any, error)

func (*Sheet) UpdateSheet

func (s *Sheet) UpdateSheet(txid uint32, id int64, userId string, data map[string]any) error

func (*Sheet) UpdateSheetColumn

func (s *Sheet) UpdateSheetColumn(txid uint32, sid, cid int64, userId string, data map[string]any) error

Jump to

Keyboard shortcuts

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