Documentation
¶
Index ¶
- type SQLOption
- func LikeName(name string) SQLOption
- func LikeTag(tag string) SQLOption
- func WithDelete(deleted int) SQLOption
- func WithDocID(id string) SQLOption
- func WithDocIDs(ids []string) SQLOption
- func WithFilePathMd5(filePathMd5 string) SQLOption
- func WithID(id uint32) SQLOption
- func WithIDs(ids []uint32) SQLOption
- func WithImportID(id string) SQLOption
- func WithImportIDs(idList []string) SQLOption
- func WithKey(key string) SQLOption
- func WithKnowledgeID(id string) SQLOption
- func WithKnowledgeIDList(idList []string) SQLOption
- func WithMetaId(metaId string) SQLOption
- func WithMetaIds(metaIds []string) SQLOption
- func WithName(name string) SQLOption
- func WithNameOrAliasLike(name string) SQLOption
- func WithNameOrValue(name, value string) SQLOption
- func WithNonEmptyValue() SQLOption
- func WithOrgID(orgID string) SQLOption
- func WithOverKnowledgePermission(id int) SQLOption
- func WithPermissionId(id string) SQLOption
- func WithPermit(orgID, userID string) SQLOption
- func WithSplitterID(id string) SQLOption
- func WithStatusList(status []int) SQLOption
- func WithTagID(id string) SQLOption
- func WithType(metaValueType string) SQLOption
- func WithUserID(userID string) SQLOption
- func WithValue(value string) SQLOption
- func WithoutID(id uint32) SQLOption
- func WithoutKnowledgeID(knowledgeId string) SQLOption
- func WithoutStatus(status int) SQLOption
- type SqlOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLOption ¶
func WithDelete ¶
func WithDocIDs ¶
func WithFilePathMd5 ¶
func WithImportID ¶
func WithImportIDs ¶ added in v0.2.3
func WithKnowledgeID ¶
func WithKnowledgeIDList ¶ added in v0.1.3
func WithMetaId ¶ added in v0.2.3
func WithMetaIds ¶ added in v0.2.3
func WithNameOrAliasLike ¶ added in v0.1.4
func WithNameOrValue ¶ added in v0.1.7
func WithNonEmptyValue ¶ added in v0.2.4
func WithNonEmptyValue() SQLOption
func WithOverKnowledgePermission ¶ added in v0.2.5
func WithPermissionId ¶ added in v0.2.5
func WithSplitterID ¶ added in v0.1.6
func WithStatusList ¶
func WithUserID ¶
func WithoutKnowledgeID ¶ added in v0.2.0
func WithoutStatus ¶
type SqlOptions ¶
type SqlOptions []SQLOption
func SQLOptions ¶
func SQLOptions(opts ...SQLOption) SqlOptions
Click to show internal directories.
Click to hide internal directories.