Documentation
¶
Index ¶
- type Service
- func (s *Service) BatchQueryAssociations(association *graph.Association, ids []uint64, args graph.QueryArg) []map[string]interface{}
- func (s *Service) DeleteInstance(entityName string, id shared.ID) (interface{}, error)
- func (s *Service) DeleteInstances(entityName string, ids []shared.ID) (interface{}, error)
- func (s *Service) QueryById(entityName string, id uint64) interface{}
- func (s *Service) QueryEntity(entityName string, args graph.QueryArg, fieldNames []string) orm.QueryResponse
- func (s *Service) QueryOneEntity(entityName string, args graph.QueryArg) interface{}
- func (s *Service) Save(entityName string, objects []map[string]interface{}) ([]orm.InsanceData, error)
- func (s *Service) SaveOne(entityName string, object map[string]interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewSystem ¶
func NewSystem(repository *entify.Repository) *Service
func (*Service) BatchQueryAssociations ¶
func (*Service) DeleteInstance ¶
func (*Service) DeleteInstances ¶
func (*Service) QueryEntity ¶
func (*Service) QueryOneEntity ¶
Click to show internal directories.
Click to hide internal directories.