Documentation ¶
Overview ¶
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Package models contains the types for schema 'public'.
Index ¶
- Variables
- type AuthGroup
- type AuthGroupPermission
- func AuthGroupPermissionByGroupIDPermissionID(db XODB, groupID int, permissionID int) (*AuthGroupPermission, error)
- func AuthGroupPermissionByID(db XODB, id int) (*AuthGroupPermission, error)
- func AuthGroupPermissionsByGroupID(db XODB, groupID int) ([]*AuthGroupPermission, error)
- func AuthGroupPermissionsByPermissionID(db XODB, permissionID int) ([]*AuthGroupPermission, error)
- func (agp *AuthGroupPermission) AuthGroup(db XODB) (*AuthGroup, error)
- func (agp *AuthGroupPermission) AuthPermission(db XODB) (*AuthPermission, error)
- func (agp *AuthGroupPermission) Delete(db XODB) error
- func (agp *AuthGroupPermission) Deleted() bool
- func (agp *AuthGroupPermission) Exists() bool
- func (agp *AuthGroupPermission) Insert(db XODB) error
- func (agp *AuthGroupPermission) Save(db XODB) error
- func (agp *AuthGroupPermission) Update(db XODB) error
- func (agp *AuthGroupPermission) Upsert(db XODB) error
- type AuthPermission
- func (ap *AuthPermission) Delete(db XODB) error
- func (ap *AuthPermission) Deleted() bool
- func (ap *AuthPermission) DjangoContentType(db XODB) (*DjangoContentType, error)
- func (ap *AuthPermission) Exists() bool
- func (ap *AuthPermission) Insert(db XODB) error
- func (ap *AuthPermission) Save(db XODB) error
- func (ap *AuthPermission) Update(db XODB) error
- func (ap *AuthPermission) Upsert(db XODB) error
- type AuthUser
- type AuthUserGroup
- func AuthUserGroupByID(db XODB, id int) (*AuthUserGroup, error)
- func AuthUserGroupByUserIDGroupID(db XODB, userID int, groupID int) (*AuthUserGroup, error)
- func AuthUserGroupsByGroupID(db XODB, groupID int) ([]*AuthUserGroup, error)
- func AuthUserGroupsByUserID(db XODB, userID int) ([]*AuthUserGroup, error)
- func (aug *AuthUserGroup) AuthGroup(db XODB) (*AuthGroup, error)
- func (aug *AuthUserGroup) AuthUser(db XODB) (*AuthUser, error)
- func (aug *AuthUserGroup) Delete(db XODB) error
- func (aug *AuthUserGroup) Deleted() bool
- func (aug *AuthUserGroup) Exists() bool
- func (aug *AuthUserGroup) Insert(db XODB) error
- func (aug *AuthUserGroup) Save(db XODB) error
- func (aug *AuthUserGroup) Update(db XODB) error
- func (aug *AuthUserGroup) Upsert(db XODB) error
- type AuthUserUserPermission
- func AuthUserUserPermissionByID(db XODB, id int) (*AuthUserUserPermission, error)
- func AuthUserUserPermissionByUserIDPermissionID(db XODB, userID int, permissionID int) (*AuthUserUserPermission, error)
- func AuthUserUserPermissionsByPermissionID(db XODB, permissionID int) ([]*AuthUserUserPermission, error)
- func AuthUserUserPermissionsByUserID(db XODB, userID int) ([]*AuthUserUserPermission, error)
- func (auup *AuthUserUserPermission) AuthPermission(db XODB) (*AuthPermission, error)
- func (auup *AuthUserUserPermission) AuthUser(db XODB) (*AuthUser, error)
- func (auup *AuthUserUserPermission) Delete(db XODB) error
- func (auup *AuthUserUserPermission) Deleted() bool
- func (auup *AuthUserUserPermission) Exists() bool
- func (auup *AuthUserUserPermission) Insert(db XODB) error
- func (auup *AuthUserUserPermission) Save(db XODB) error
- func (auup *AuthUserUserPermission) Update(db XODB) error
- func (auup *AuthUserUserPermission) Upsert(db XODB) error
- type AuthtokenToken
- func (at *AuthtokenToken) AuthUser(db XODB) (*AuthUser, error)
- func (at *AuthtokenToken) Delete(db XODB) error
- func (at *AuthtokenToken) Deleted() bool
- func (at *AuthtokenToken) Exists() bool
- func (at *AuthtokenToken) Insert(db XODB) error
- func (at *AuthtokenToken) Save(db XODB) error
- func (at *AuthtokenToken) Update(db XODB) error
- func (at *AuthtokenToken) Upsert(db XODB) error
- type DjangoAdminLog
- func (dal *DjangoAdminLog) AuthUser(db XODB) (*AuthUser, error)
- func (dal *DjangoAdminLog) Delete(db XODB) error
- func (dal *DjangoAdminLog) Deleted() bool
- func (dal *DjangoAdminLog) DjangoContentType(db XODB) (*DjangoContentType, error)
- func (dal *DjangoAdminLog) Exists() bool
- func (dal *DjangoAdminLog) Insert(db XODB) error
- func (dal *DjangoAdminLog) Save(db XODB) error
- func (dal *DjangoAdminLog) Update(db XODB) error
- func (dal *DjangoAdminLog) Upsert(db XODB) error
- type DjangoContentType
- func (dct *DjangoContentType) Delete(db XODB) error
- func (dct *DjangoContentType) Deleted() bool
- func (dct *DjangoContentType) Exists() bool
- func (dct *DjangoContentType) Insert(db XODB) error
- func (dct *DjangoContentType) Save(db XODB) error
- func (dct *DjangoContentType) Update(db XODB) error
- func (dct *DjangoContentType) Upsert(db XODB) error
- type DjangoMigration
- func (dm *DjangoMigration) Delete(db XODB) error
- func (dm *DjangoMigration) Deleted() bool
- func (dm *DjangoMigration) Exists() bool
- func (dm *DjangoMigration) Insert(db XODB) error
- func (dm *DjangoMigration) Save(db XODB) error
- func (dm *DjangoMigration) Update(db XODB) error
- func (dm *DjangoMigration) Upsert(db XODB) error
- type DjangoSession
- func (ds *DjangoSession) Delete(db XODB) error
- func (ds *DjangoSession) Deleted() bool
- func (ds *DjangoSession) Exists() bool
- func (ds *DjangoSession) Insert(db XODB) error
- func (ds *DjangoSession) Save(db XODB) error
- func (ds *DjangoSession) Update(db XODB) error
- func (ds *DjangoSession) Upsert(db XODB) error
- type EpubsForTopicWithNumberOfMatchedPages
- type EpubsNumberOfPages
- type ExternalRelationsForTopic
- type HitBasket
- type HitBasketType
- func HitBasketTypeByBasketIDTtypeID(db XODB, basketID int, ttypeID int) (*HitBasketType, error)
- func HitBasketTypeByID(db XODB, id int) (*HitBasketType, error)
- func HitBasketTypesByBasketID(db XODB, basketID int) ([]*HitBasketType, error)
- func HitBasketTypesByTtypeID(db XODB, ttypeID int) ([]*HitBasketType, error)
- func (hbt *HitBasketType) Delete(db XODB) error
- func (hbt *HitBasketType) Deleted() bool
- func (hbt *HitBasketType) Exists() bool
- func (hbt *HitBasketType) HitBasket(db XODB) (*HitBasket, error)
- func (hbt *HitBasketType) Insert(db XODB) error
- func (hbt *HitBasketType) Save(db XODB) error
- func (hbt *HitBasketType) TopicTtype(db XODB) (*TopicTtype, error)
- func (hbt *HitBasketType) Update(db XODB) error
- func (hbt *HitBasketType) Upsert(db XODB) error
- type HitHit
- func HitHitByID(db XODB, id int) (*HitHit, error)
- func HitHitByNameScopeID(db XODB, name string, scopeID int) (*HitHit, error)
- func HitHitsByBasketID(db XODB, basketID sql.NullInt64) ([]*HitHit, error)
- func HitHitsByName(db XODB, name string) ([]*HitHit, error)
- func HitHitsByScopeID(db XODB, scopeID int) ([]*HitHit, error)
- func HitHitsBySlug(db XODB, slug string) ([]*HitHit, error)
- func (hh *HitHit) Delete(db XODB) error
- func (hh *HitHit) Deleted() bool
- func (hh *HitHit) Exists() bool
- func (hh *HitHit) HitBasket(db XODB) (*HitBasket, error)
- func (hh *HitHit) HitScope(db XODB) (*HitScope, error)
- func (hh *HitHit) Insert(db XODB) error
- func (hh *HitHit) Save(db XODB) error
- func (hh *HitHit) Update(db XODB) error
- func (hh *HitHit) Upsert(db XODB) error
- type HitScope
- type LexRecognizer
- func (lr *LexRecognizer) Delete(db XODB) error
- func (lr *LexRecognizer) Deleted() bool
- func (lr *LexRecognizer) Exists() bool
- func (lr *LexRecognizer) Insert(db XODB) error
- func (lr *LexRecognizer) Save(db XODB) error
- func (lr *LexRecognizer) Update(db XODB) error
- func (lr *LexRecognizer) Upsert(db XODB) error
- type LexStopword
- type ManuscriptsIndex
- func (mi *ManuscriptsIndex) Delete(db XODB) error
- func (mi *ManuscriptsIndex) Deleted() bool
- func (mi *ManuscriptsIndex) Exists() bool
- func (mi *ManuscriptsIndex) Insert(db XODB) error
- func (mi *ManuscriptsIndex) ManuscriptsIndexpattern(db XODB) (*ManuscriptsIndexpattern, error)
- func (mi *ManuscriptsIndex) OccurrenceDocument(db XODB) (*OccurrenceDocument, error)
- func (mi *ManuscriptsIndex) Save(db XODB) error
- func (mi *ManuscriptsIndex) Update(db XODB) error
- func (mi *ManuscriptsIndex) Upsert(db XODB) error
- type ManuscriptsIndexpattern
- func (mi *ManuscriptsIndexpattern) Delete(db XODB) error
- func (mi *ManuscriptsIndexpattern) Deleted() bool
- func (mi *ManuscriptsIndexpattern) Exists() bool
- func (mi *ManuscriptsIndexpattern) Insert(db XODB) error
- func (mi *ManuscriptsIndexpattern) Save(db XODB) error
- func (mi *ManuscriptsIndexpattern) Update(db XODB) error
- func (mi *ManuscriptsIndexpattern) Upsert(db XODB) error
- type OccurrenceContent
- func OccurrenceContentByContentUniqueIndicator(db XODB, contentUniqueIndicator sql.NullString) (*OccurrenceContent, error)
- func OccurrenceContentByID(db XODB, id int) (*OccurrenceContent, error)
- func OccurrenceContentsByContentUniqueIndicator(db XODB, contentUniqueIndicator sql.NullString) ([]*OccurrenceContent, error)
- func (oc *OccurrenceContent) Delete(db XODB) error
- func (oc *OccurrenceContent) Deleted() bool
- func (oc *OccurrenceContent) Exists() bool
- func (oc *OccurrenceContent) Insert(db XODB) error
- func (oc *OccurrenceContent) Save(db XODB) error
- func (oc *OccurrenceContent) Update(db XODB) error
- func (oc *OccurrenceContent) Upsert(db XODB) error
- type OccurrenceDocument
- func (od *OccurrenceDocument) Delete(db XODB) error
- func (od *OccurrenceDocument) Deleted() bool
- func (od *OccurrenceDocument) Exists() bool
- func (od *OccurrenceDocument) Insert(db XODB) error
- func (od *OccurrenceDocument) Save(db XODB) error
- func (od *OccurrenceDocument) Update(db XODB) error
- func (od *OccurrenceDocument) Upsert(db XODB) error
- type OccurrenceLocation
- func OccurrenceLocationByID(db XODB, id int) (*OccurrenceLocation, error)
- func OccurrenceLocationByLocalidFilepath(db XODB, localid sql.NullString, filepath string) (*OccurrenceLocation, error)
- func OccurrenceLocationsByContentID(db XODB, contentID sql.NullInt64) ([]*OccurrenceLocation, error)
- func OccurrenceLocationsByDocumentID(db XODB, documentID sql.NullInt64) ([]*OccurrenceLocation, error)
- func (ol *OccurrenceLocation) Delete(db XODB) error
- func (ol *OccurrenceLocation) Deleted() bool
- func (ol *OccurrenceLocation) Exists() bool
- func (ol *OccurrenceLocation) Insert(db XODB) error
- func (ol *OccurrenceLocation) OccurrenceContent(db XODB) (*OccurrenceContent, error)
- func (ol *OccurrenceLocation) OccurrenceDocument(db XODB) (*OccurrenceDocument, error)
- func (ol *OccurrenceLocation) Save(db XODB) error
- func (ol *OccurrenceLocation) Update(db XODB) error
- func (ol *OccurrenceLocation) Upsert(db XODB) error
- type OccurrenceOccurrence
- func (oo *OccurrenceOccurrence) Delete(db XODB) error
- func (oo *OccurrenceOccurrence) Deleted() bool
- func (oo *OccurrenceOccurrence) Exists() bool
- func (oo *OccurrenceOccurrence) HitBasket(db XODB) (*HitBasket, error)
- func (oo *OccurrenceOccurrence) Insert(db XODB) error
- func (oo *OccurrenceOccurrence) OccurrenceLocation(db XODB) (*OccurrenceLocation, error)
- func (oo *OccurrenceOccurrence) Save(db XODB) error
- func (oo *OccurrenceOccurrence) Update(db XODB) error
- func (oo *OccurrenceOccurrence) Upsert(db XODB) error
- type OtxEpubEpub
- func (oee *OtxEpubEpub) Delete(db XODB) error
- func (oee *OtxEpubEpub) Deleted() bool
- func (oee *OtxEpubEpub) Exists() bool
- func (oee *OtxEpubEpub) Insert(db XODB) error
- func (oee *OtxEpubEpub) OccurrenceDocument(db XODB) (*OccurrenceDocument, error)
- func (oee *OtxEpubEpub) Save(db XODB) error
- func (oee *OtxEpubEpub) Update(db XODB) error
- func (oee *OtxEpubEpub) Upsert(db XODB) error
- type OtxReviewReport
- func (orr *OtxReviewReport) Delete(db XODB) error
- func (orr *OtxReviewReport) Deleted() bool
- func (orr *OtxReviewReport) Exists() bool
- func (orr *OtxReviewReport) Insert(db XODB) error
- func (orr *OtxReviewReport) Save(db XODB) error
- func (orr *OtxReviewReport) Update(db XODB) error
- func (orr *OtxReviewReport) Upsert(db XODB) error
- type OtxReviewReview
- func (orr *OtxReviewReview) AuthUser(db XODB) (*AuthUser, error)
- func (orr *OtxReviewReview) Delete(db XODB) error
- func (orr *OtxReviewReview) Deleted() bool
- func (orr *OtxReviewReview) Exists() bool
- func (orr *OtxReviewReview) HitBasket(db XODB) (*HitBasket, error)
- func (orr *OtxReviewReview) Insert(db XODB) error
- func (orr *OtxReviewReview) Save(db XODB) error
- func (orr *OtxReviewReview) Update(db XODB) error
- func (orr *OtxReviewReview) Upsert(db XODB) error
- type OtxWeblinkWeblink
- func (oww *OtxWeblinkWeblink) Delete(db XODB) error
- func (oww *OtxWeblinkWeblink) Deleted() bool
- func (oww *OtxWeblinkWeblink) Exists() bool
- func (oww *OtxWeblinkWeblink) Insert(db XODB) error
- func (oww *OtxWeblinkWeblink) Save(db XODB) error
- func (oww *OtxWeblinkWeblink) Update(db XODB) error
- func (oww *OtxWeblinkWeblink) Upsert(db XODB) error
- type OtxWeblinkWeblinkBasket
- func OtxWeblinkWeblinkBasketByID(db XODB, id int) (*OtxWeblinkWeblinkBasket, error)
- func OtxWeblinkWeblinkBasketByWeblinkIDBasketID(db XODB, weblinkID int, basketID int) (*OtxWeblinkWeblinkBasket, error)
- func OtxWeblinkWeblinkBasketsByBasketID(db XODB, basketID int) ([]*OtxWeblinkWeblinkBasket, error)
- func OtxWeblinkWeblinkBasketsByWeblinkID(db XODB, weblinkID int) ([]*OtxWeblinkWeblinkBasket, error)
- func (owwb *OtxWeblinkWeblinkBasket) Delete(db XODB) error
- func (owwb *OtxWeblinkWeblinkBasket) Deleted() bool
- func (owwb *OtxWeblinkWeblinkBasket) Exists() bool
- func (owwb *OtxWeblinkWeblinkBasket) HitBasket(db XODB) (*HitBasket, error)
- func (owwb *OtxWeblinkWeblinkBasket) Insert(db XODB) error
- func (owwb *OtxWeblinkWeblinkBasket) OtxWeblinkWeblink(db XODB) (*OtxWeblinkWeblink, error)
- func (owwb *OtxWeblinkWeblinkBasket) Save(db XODB) error
- func (owwb *OtxWeblinkWeblinkBasket) Update(db XODB) error
- func (owwb *OtxWeblinkWeblinkBasket) Upsert(db XODB) error
- type OtxXMLXmlpattern
- func (oxx *OtxXMLXmlpattern) Delete(db XODB) error
- func (oxx *OtxXMLXmlpattern) Deleted() bool
- func (oxx *OtxXMLXmlpattern) Exists() bool
- func (oxx *OtxXMLXmlpattern) Insert(db XODB) error
- func (oxx *OtxXMLXmlpattern) Save(db XODB) error
- func (oxx *OtxXMLXmlpattern) Update(db XODB) error
- func (oxx *OtxXMLXmlpattern) Upsert(db XODB) error
- type Page
- type RelatedTopicNamesForTopicWithNumberOfOccurrences
- type RelationRelatedbasket
- func RelationRelatedbasketByID(db XODB, id int) (*RelationRelatedbasket, error)
- func RelationRelatedbasketByRelationtypeIDSourceIDDestinationID(db XODB, relationtypeID int, sourceID int, destinationID int) (*RelationRelatedbasket, error)
- func RelationRelatedbasketsByDestinationID(db XODB, destinationID int) ([]*RelationRelatedbasket, error)
- func RelationRelatedbasketsByRelationtypeID(db XODB, relationtypeID int) ([]*RelationRelatedbasket, error)
- func RelationRelatedbasketsBySourceID(db XODB, sourceID int) ([]*RelationRelatedbasket, error)
- func (rr *RelationRelatedbasket) Delete(db XODB) error
- func (rr *RelationRelatedbasket) Deleted() bool
- func (rr *RelationRelatedbasket) Exists() bool
- func (rr *RelationRelatedbasket) HitBasketByDestinationID(db XODB) (*HitBasket, error)
- func (rr *RelationRelatedbasket) HitBasketBySourceID(db XODB) (*HitBasket, error)
- func (rr *RelationRelatedbasket) Insert(db XODB) error
- func (rr *RelationRelatedbasket) RelationRelationtype(db XODB) (*RelationRelationtype, error)
- func (rr *RelationRelatedbasket) Save(db XODB) error
- func (rr *RelationRelatedbasket) Update(db XODB) error
- func (rr *RelationRelatedbasket) Upsert(db XODB) error
- type RelationRelatedhit
- func RelationRelatedhitByID(db XODB, id int) (*RelationRelatedhit, error)
- func RelationRelatedhitByRelationtypeIDSourceIDDestinationID(db XODB, relationtypeID int, sourceID int, destinationID int) (*RelationRelatedhit, error)
- func RelationRelatedhitsByDestinationID(db XODB, destinationID int) ([]*RelationRelatedhit, error)
- func RelationRelatedhitsByRelationtypeID(db XODB, relationtypeID int) ([]*RelationRelatedhit, error)
- func RelationRelatedhitsBySourceID(db XODB, sourceID int) ([]*RelationRelatedhit, error)
- func (rr *RelationRelatedhit) Delete(db XODB) error
- func (rr *RelationRelatedhit) Deleted() bool
- func (rr *RelationRelatedhit) Exists() bool
- func (rr *RelationRelatedhit) HitHitByDestinationID(db XODB) (*HitHit, error)
- func (rr *RelationRelatedhit) HitHitBySourceID(db XODB) (*HitHit, error)
- func (rr *RelationRelatedhit) Insert(db XODB) error
- func (rr *RelationRelatedhit) RelationRelationtype(db XODB) (*RelationRelationtype, error)
- func (rr *RelationRelatedhit) Save(db XODB) error
- func (rr *RelationRelatedhit) Update(db XODB) error
- func (rr *RelationRelatedhit) Upsert(db XODB) error
- type RelationRelationtype
- func RelationRelationtypeByID(db XODB, id int) (*RelationRelationtype, error)
- func RelationRelationtypeByRtype(db XODB, rtype string) (*RelationRelationtype, error)
- func RelationRelationtypeByRtypeRoleFromRoleTo(db XODB, rtype string, roleFrom string, roleTo string) (*RelationRelationtype, error)
- func RelationRelationtypesByRtype(db XODB, rtype string) ([]*RelationRelationtype, error)
- func (rr *RelationRelationtype) Delete(db XODB) error
- func (rr *RelationRelationtype) Deleted() bool
- func (rr *RelationRelationtype) Exists() bool
- func (rr *RelationRelationtype) Insert(db XODB) error
- func (rr *RelationRelationtype) Save(db XODB) error
- func (rr *RelationRelationtype) Update(db XODB) error
- func (rr *RelationRelationtype) Upsert(db XODB) error
- type ScannerValuer
- type Slice
- type StringSlice
- type TopicAlternateName
- type TopicNamesForPage
- type TopicNumberOfOccurrences
- type TopicTtype
- type XODB
Constants ¶
This section is empty.
Variables ¶
var XOLog = func(string, ...interface{}) {}
XOLog provides the log func used by generated queries.
Functions ¶
This section is empty.
Types ¶
type AuthGroup ¶
type AuthGroup struct { ID int `json:"id"` // id Name string `json:"name"` // name // contains filtered or unexported fields }
AuthGroup represents a row from 'public.auth_group'.
func AuthGroupByID ¶
AuthGroupByID retrieves a row from 'public.auth_group' as a AuthGroup.
Generated from index 'auth_group_pkey'.
func AuthGroupByName ¶
AuthGroupByName retrieves a row from 'public.auth_group' as a AuthGroup.
Generated from index 'auth_group_name_key'.
func AuthGroupsByName ¶
AuthGroupsByName retrieves a row from 'public.auth_group' as a AuthGroup.
Generated from index 'auth_group_name_a6ea08ec_like'.
func (*AuthGroup) Deleted ¶
Deleted provides information if the AuthGroup has been deleted from the database.
type AuthGroupPermission ¶
type AuthGroupPermission struct { ID int `json:"id"` // id GroupID int `json:"group_id"` // group_id PermissionID int `json:"permission_id"` // permission_id // contains filtered or unexported fields }
AuthGroupPermission represents a row from 'public.auth_group_permissions'.
func AuthGroupPermissionByGroupIDPermissionID ¶
func AuthGroupPermissionByGroupIDPermissionID(db XODB, groupID int, permissionID int) (*AuthGroupPermission, error)
AuthGroupPermissionByGroupIDPermissionID retrieves a row from 'public.auth_group_permissions' as a AuthGroupPermission.
Generated from index 'auth_group_permissions_group_id_0cd325b0_uniq'.
func AuthGroupPermissionByID ¶
func AuthGroupPermissionByID(db XODB, id int) (*AuthGroupPermission, error)
AuthGroupPermissionByID retrieves a row from 'public.auth_group_permissions' as a AuthGroupPermission.
Generated from index 'auth_group_permissions_pkey'.
func AuthGroupPermissionsByGroupID ¶
func AuthGroupPermissionsByGroupID(db XODB, groupID int) ([]*AuthGroupPermission, error)
AuthGroupPermissionsByGroupID retrieves a row from 'public.auth_group_permissions' as a AuthGroupPermission.
Generated from index 'auth_group_permissions_0e939a4f'.
func AuthGroupPermissionsByPermissionID ¶
func AuthGroupPermissionsByPermissionID(db XODB, permissionID int) ([]*AuthGroupPermission, error)
AuthGroupPermissionsByPermissionID retrieves a row from 'public.auth_group_permissions' as a AuthGroupPermission.
Generated from index 'auth_group_permissions_8373b171'.
func (*AuthGroupPermission) AuthGroup ¶
func (agp *AuthGroupPermission) AuthGroup(db XODB) (*AuthGroup, error)
AuthGroup returns the AuthGroup associated with the AuthGroupPermission's GroupID (group_id).
Generated from foreign key 'auth_group_permissions_group_id_b120cbf9_fk_auth_group_id'.
func (*AuthGroupPermission) AuthPermission ¶
func (agp *AuthGroupPermission) AuthPermission(db XODB) (*AuthPermission, error)
AuthPermission returns the AuthPermission associated with the AuthGroupPermission's PermissionID (permission_id).
Generated from foreign key 'auth_group_permiss_permission_id_84c5c92e_fk_auth_permission_id'.
func (*AuthGroupPermission) Delete ¶
func (agp *AuthGroupPermission) Delete(db XODB) error
Delete deletes the AuthGroupPermission from the database.
func (*AuthGroupPermission) Deleted ¶
func (agp *AuthGroupPermission) Deleted() bool
Deleted provides information if the AuthGroupPermission has been deleted from the database.
func (*AuthGroupPermission) Exists ¶
func (agp *AuthGroupPermission) Exists() bool
Exists determines if the AuthGroupPermission exists in the database.
func (*AuthGroupPermission) Insert ¶
func (agp *AuthGroupPermission) Insert(db XODB) error
Insert inserts the AuthGroupPermission to the database.
func (*AuthGroupPermission) Save ¶
func (agp *AuthGroupPermission) Save(db XODB) error
Save saves the AuthGroupPermission to the database.
func (*AuthGroupPermission) Update ¶
func (agp *AuthGroupPermission) Update(db XODB) error
Update updates the AuthGroupPermission in the database.
func (*AuthGroupPermission) Upsert ¶
func (agp *AuthGroupPermission) Upsert(db XODB) error
Upsert performs an upsert for AuthGroupPermission.
NOTE: PostgreSQL 9.5+ only
type AuthPermission ¶
type AuthPermission struct { ID int `json:"id"` // id Name string `json:"name"` // name ContentTypeID int `json:"content_type_id"` // content_type_id Codename string `json:"codename"` // codename // contains filtered or unexported fields }
AuthPermission represents a row from 'public.auth_permission'.
func AuthPermissionByContentTypeIDCodename ¶
func AuthPermissionByContentTypeIDCodename(db XODB, contentTypeID int, codename string) (*AuthPermission, error)
AuthPermissionByContentTypeIDCodename retrieves a row from 'public.auth_permission' as a AuthPermission.
Generated from index 'auth_permission_content_type_id_01ab375a_uniq'.
func AuthPermissionByID ¶
func AuthPermissionByID(db XODB, id int) (*AuthPermission, error)
AuthPermissionByID retrieves a row from 'public.auth_permission' as a AuthPermission.
Generated from index 'auth_permission_pkey'.
func AuthPermissionsByContentTypeID ¶
func AuthPermissionsByContentTypeID(db XODB, contentTypeID int) ([]*AuthPermission, error)
AuthPermissionsByContentTypeID retrieves a row from 'public.auth_permission' as a AuthPermission.
Generated from index 'auth_permission_417f1b1c'.
func (*AuthPermission) Delete ¶
func (ap *AuthPermission) Delete(db XODB) error
Delete deletes the AuthPermission from the database.
func (*AuthPermission) Deleted ¶
func (ap *AuthPermission) Deleted() bool
Deleted provides information if the AuthPermission has been deleted from the database.
func (*AuthPermission) DjangoContentType ¶
func (ap *AuthPermission) DjangoContentType(db XODB) (*DjangoContentType, error)
DjangoContentType returns the DjangoContentType associated with the AuthPermission's ContentTypeID (content_type_id).
Generated from foreign key 'auth_permiss_content_type_id_2f476e4b_fk_django_content_type_id'.
func (*AuthPermission) Exists ¶
func (ap *AuthPermission) Exists() bool
Exists determines if the AuthPermission exists in the database.
func (*AuthPermission) Insert ¶
func (ap *AuthPermission) Insert(db XODB) error
Insert inserts the AuthPermission to the database.
func (*AuthPermission) Save ¶
func (ap *AuthPermission) Save(db XODB) error
Save saves the AuthPermission to the database.
func (*AuthPermission) Update ¶
func (ap *AuthPermission) Update(db XODB) error
Update updates the AuthPermission in the database.
func (*AuthPermission) Upsert ¶
func (ap *AuthPermission) Upsert(db XODB) error
Upsert performs an upsert for AuthPermission.
NOTE: PostgreSQL 9.5+ only
type AuthUser ¶
type AuthUser struct { ID int `json:"id"` // id Password string `json:"password"` // password LastLogin pq.NullTime `json:"last_login"` // last_login IsSuperuser bool `json:"is_superuser"` // is_superuser Username string `json:"username"` // username FirstName string `json:"first_name"` // first_name LastName string `json:"last_name"` // last_name Email string `json:"email"` // email IsStaff bool `json:"is_staff"` // is_staff IsActive bool `json:"is_active"` // is_active DateJoined time.Time `json:"date_joined"` // date_joined // contains filtered or unexported fields }
AuthUser represents a row from 'public.auth_user'.
func AuthUserByID ¶
AuthUserByID retrieves a row from 'public.auth_user' as a AuthUser.
Generated from index 'auth_user_pkey'.
func AuthUserByUsername ¶
AuthUserByUsername retrieves a row from 'public.auth_user' as a AuthUser.
Generated from index 'auth_user_username_key'.
func AuthUsersByUsername ¶
AuthUsersByUsername retrieves a row from 'public.auth_user' as a AuthUser.
Generated from index 'auth_user_username_6821ab7c_like'.
func (*AuthUser) Deleted ¶
Deleted provides information if the AuthUser has been deleted from the database.
type AuthUserGroup ¶
type AuthUserGroup struct { ID int `json:"id"` // id UserID int `json:"user_id"` // user_id GroupID int `json:"group_id"` // group_id // contains filtered or unexported fields }
AuthUserGroup represents a row from 'public.auth_user_groups'.
func AuthUserGroupByID ¶
func AuthUserGroupByID(db XODB, id int) (*AuthUserGroup, error)
AuthUserGroupByID retrieves a row from 'public.auth_user_groups' as a AuthUserGroup.
Generated from index 'auth_user_groups_pkey'.
func AuthUserGroupByUserIDGroupID ¶
func AuthUserGroupByUserIDGroupID(db XODB, userID int, groupID int) (*AuthUserGroup, error)
AuthUserGroupByUserIDGroupID retrieves a row from 'public.auth_user_groups' as a AuthUserGroup.
Generated from index 'auth_user_groups_user_id_94350c0c_uniq'.
func AuthUserGroupsByGroupID ¶
func AuthUserGroupsByGroupID(db XODB, groupID int) ([]*AuthUserGroup, error)
AuthUserGroupsByGroupID retrieves a row from 'public.auth_user_groups' as a AuthUserGroup.
Generated from index 'auth_user_groups_0e939a4f'.
func AuthUserGroupsByUserID ¶
func AuthUserGroupsByUserID(db XODB, userID int) ([]*AuthUserGroup, error)
AuthUserGroupsByUserID retrieves a row from 'public.auth_user_groups' as a AuthUserGroup.
Generated from index 'auth_user_groups_e8701ad4'.
func (*AuthUserGroup) AuthGroup ¶
func (aug *AuthUserGroup) AuthGroup(db XODB) (*AuthGroup, error)
AuthGroup returns the AuthGroup associated with the AuthUserGroup's GroupID (group_id).
Generated from foreign key 'auth_user_groups_group_id_97559544_fk_auth_group_id'.
func (*AuthUserGroup) AuthUser ¶
func (aug *AuthUserGroup) AuthUser(db XODB) (*AuthUser, error)
AuthUser returns the AuthUser associated with the AuthUserGroup's UserID (user_id).
Generated from foreign key 'auth_user_groups_user_id_6a12ed8b_fk_auth_user_id'.
func (*AuthUserGroup) Delete ¶
func (aug *AuthUserGroup) Delete(db XODB) error
Delete deletes the AuthUserGroup from the database.
func (*AuthUserGroup) Deleted ¶
func (aug *AuthUserGroup) Deleted() bool
Deleted provides information if the AuthUserGroup has been deleted from the database.
func (*AuthUserGroup) Exists ¶
func (aug *AuthUserGroup) Exists() bool
Exists determines if the AuthUserGroup exists in the database.
func (*AuthUserGroup) Insert ¶
func (aug *AuthUserGroup) Insert(db XODB) error
Insert inserts the AuthUserGroup to the database.
func (*AuthUserGroup) Save ¶
func (aug *AuthUserGroup) Save(db XODB) error
Save saves the AuthUserGroup to the database.
func (*AuthUserGroup) Update ¶
func (aug *AuthUserGroup) Update(db XODB) error
Update updates the AuthUserGroup in the database.
func (*AuthUserGroup) Upsert ¶
func (aug *AuthUserGroup) Upsert(db XODB) error
Upsert performs an upsert for AuthUserGroup.
NOTE: PostgreSQL 9.5+ only
type AuthUserUserPermission ¶
type AuthUserUserPermission struct { ID int `json:"id"` // id UserID int `json:"user_id"` // user_id PermissionID int `json:"permission_id"` // permission_id // contains filtered or unexported fields }
AuthUserUserPermission represents a row from 'public.auth_user_user_permissions'.
func AuthUserUserPermissionByID ¶
func AuthUserUserPermissionByID(db XODB, id int) (*AuthUserUserPermission, error)
AuthUserUserPermissionByID retrieves a row from 'public.auth_user_user_permissions' as a AuthUserUserPermission.
Generated from index 'auth_user_user_permissions_pkey'.
func AuthUserUserPermissionByUserIDPermissionID ¶
func AuthUserUserPermissionByUserIDPermissionID(db XODB, userID int, permissionID int) (*AuthUserUserPermission, error)
AuthUserUserPermissionByUserIDPermissionID retrieves a row from 'public.auth_user_user_permissions' as a AuthUserUserPermission.
Generated from index 'auth_user_user_permissions_user_id_14a6b632_uniq'.
func AuthUserUserPermissionsByPermissionID ¶
func AuthUserUserPermissionsByPermissionID(db XODB, permissionID int) ([]*AuthUserUserPermission, error)
AuthUserUserPermissionsByPermissionID retrieves a row from 'public.auth_user_user_permissions' as a AuthUserUserPermission.
Generated from index 'auth_user_user_permissions_8373b171'.
func AuthUserUserPermissionsByUserID ¶
func AuthUserUserPermissionsByUserID(db XODB, userID int) ([]*AuthUserUserPermission, error)
AuthUserUserPermissionsByUserID retrieves a row from 'public.auth_user_user_permissions' as a AuthUserUserPermission.
Generated from index 'auth_user_user_permissions_e8701ad4'.
func (*AuthUserUserPermission) AuthPermission ¶
func (auup *AuthUserUserPermission) AuthPermission(db XODB) (*AuthPermission, error)
AuthPermission returns the AuthPermission associated with the AuthUserUserPermission's PermissionID (permission_id).
Generated from foreign key 'auth_user_user_per_permission_id_1fbb5f2c_fk_auth_permission_id'.
func (*AuthUserUserPermission) AuthUser ¶
func (auup *AuthUserUserPermission) AuthUser(db XODB) (*AuthUser, error)
AuthUser returns the AuthUser associated with the AuthUserUserPermission's UserID (user_id).
Generated from foreign key 'auth_user_user_permissions_user_id_a95ead1b_fk_auth_user_id'.
func (*AuthUserUserPermission) Delete ¶
func (auup *AuthUserUserPermission) Delete(db XODB) error
Delete deletes the AuthUserUserPermission from the database.
func (*AuthUserUserPermission) Deleted ¶
func (auup *AuthUserUserPermission) Deleted() bool
Deleted provides information if the AuthUserUserPermission has been deleted from the database.
func (*AuthUserUserPermission) Exists ¶
func (auup *AuthUserUserPermission) Exists() bool
Exists determines if the AuthUserUserPermission exists in the database.
func (*AuthUserUserPermission) Insert ¶
func (auup *AuthUserUserPermission) Insert(db XODB) error
Insert inserts the AuthUserUserPermission to the database.
func (*AuthUserUserPermission) Save ¶
func (auup *AuthUserUserPermission) Save(db XODB) error
Save saves the AuthUserUserPermission to the database.
func (*AuthUserUserPermission) Update ¶
func (auup *AuthUserUserPermission) Update(db XODB) error
Update updates the AuthUserUserPermission in the database.
func (*AuthUserUserPermission) Upsert ¶
func (auup *AuthUserUserPermission) Upsert(db XODB) error
Upsert performs an upsert for AuthUserUserPermission.
NOTE: PostgreSQL 9.5+ only
type AuthtokenToken ¶
type AuthtokenToken struct { Key string `json:"key"` // key Created time.Time `json:"created"` // created UserID int `json:"user_id"` // user_id // contains filtered or unexported fields }
AuthtokenToken represents a row from 'public.authtoken_token'.
func AuthtokenTokenByKey ¶
func AuthtokenTokenByKey(db XODB, key string) (*AuthtokenToken, error)
AuthtokenTokenByKey retrieves a row from 'public.authtoken_token' as a AuthtokenToken.
Generated from index 'authtoken_token_pkey'.
func AuthtokenTokenByUserID ¶
func AuthtokenTokenByUserID(db XODB, userID int) (*AuthtokenToken, error)
AuthtokenTokenByUserID retrieves a row from 'public.authtoken_token' as a AuthtokenToken.
Generated from index 'authtoken_token_user_id_key'.
func AuthtokenTokensByKey ¶
func AuthtokenTokensByKey(db XODB, key string) ([]*AuthtokenToken, error)
AuthtokenTokensByKey retrieves a row from 'public.authtoken_token' as a AuthtokenToken.
Generated from index 'authtoken_token_key_10f0b77e_like'.
func (*AuthtokenToken) AuthUser ¶
func (at *AuthtokenToken) AuthUser(db XODB) (*AuthUser, error)
AuthUser returns the AuthUser associated with the AuthtokenToken's UserID (user_id).
Generated from foreign key 'authtoken_token_user_id_35299eff_fk_auth_user_id'.
func (*AuthtokenToken) Delete ¶
func (at *AuthtokenToken) Delete(db XODB) error
Delete deletes the AuthtokenToken from the database.
func (*AuthtokenToken) Deleted ¶
func (at *AuthtokenToken) Deleted() bool
Deleted provides information if the AuthtokenToken has been deleted from the database.
func (*AuthtokenToken) Exists ¶
func (at *AuthtokenToken) Exists() bool
Exists determines if the AuthtokenToken exists in the database.
func (*AuthtokenToken) Insert ¶
func (at *AuthtokenToken) Insert(db XODB) error
Insert inserts the AuthtokenToken to the database.
func (*AuthtokenToken) Save ¶
func (at *AuthtokenToken) Save(db XODB) error
Save saves the AuthtokenToken to the database.
func (*AuthtokenToken) Update ¶
func (at *AuthtokenToken) Update(db XODB) error
Update updates the AuthtokenToken in the database.
func (*AuthtokenToken) Upsert ¶
func (at *AuthtokenToken) Upsert(db XODB) error
Upsert performs an upsert for AuthtokenToken.
NOTE: PostgreSQL 9.5+ only
type DjangoAdminLog ¶
type DjangoAdminLog struct { ID int `json:"id"` // id ActionTime time.Time `json:"action_time"` // action_time ObjectID sql.NullString `json:"object_id"` // object_id ObjectRepr string `json:"object_repr"` // object_repr ActionFlag int16 `json:"action_flag"` // action_flag ChangeMessage string `json:"change_message"` // change_message ContentTypeID sql.NullInt64 `json:"content_type_id"` // content_type_id UserID int `json:"user_id"` // user_id // contains filtered or unexported fields }
DjangoAdminLog represents a row from 'public.django_admin_log'.
func DjangoAdminLogByID ¶
func DjangoAdminLogByID(db XODB, id int) (*DjangoAdminLog, error)
DjangoAdminLogByID retrieves a row from 'public.django_admin_log' as a DjangoAdminLog.
Generated from index 'django_admin_log_pkey'.
func DjangoAdminLogsByContentTypeID ¶
func DjangoAdminLogsByContentTypeID(db XODB, contentTypeID sql.NullInt64) ([]*DjangoAdminLog, error)
DjangoAdminLogsByContentTypeID retrieves a row from 'public.django_admin_log' as a DjangoAdminLog.
Generated from index 'django_admin_log_417f1b1c'.
func DjangoAdminLogsByUserID ¶
func DjangoAdminLogsByUserID(db XODB, userID int) ([]*DjangoAdminLog, error)
DjangoAdminLogsByUserID retrieves a row from 'public.django_admin_log' as a DjangoAdminLog.
Generated from index 'django_admin_log_e8701ad4'.
func (*DjangoAdminLog) AuthUser ¶
func (dal *DjangoAdminLog) AuthUser(db XODB) (*AuthUser, error)
AuthUser returns the AuthUser associated with the DjangoAdminLog's UserID (user_id).
Generated from foreign key 'django_admin_log_user_id_c564eba6_fk_auth_user_id'.
func (*DjangoAdminLog) Delete ¶
func (dal *DjangoAdminLog) Delete(db XODB) error
Delete deletes the DjangoAdminLog from the database.
func (*DjangoAdminLog) Deleted ¶
func (dal *DjangoAdminLog) Deleted() bool
Deleted provides information if the DjangoAdminLog has been deleted from the database.
func (*DjangoAdminLog) DjangoContentType ¶
func (dal *DjangoAdminLog) DjangoContentType(db XODB) (*DjangoContentType, error)
DjangoContentType returns the DjangoContentType associated with the DjangoAdminLog's ContentTypeID (content_type_id).
Generated from foreign key 'django_admin_content_type_id_c4bce8eb_fk_django_content_type_id'.
func (*DjangoAdminLog) Exists ¶
func (dal *DjangoAdminLog) Exists() bool
Exists determines if the DjangoAdminLog exists in the database.
func (*DjangoAdminLog) Insert ¶
func (dal *DjangoAdminLog) Insert(db XODB) error
Insert inserts the DjangoAdminLog to the database.
func (*DjangoAdminLog) Save ¶
func (dal *DjangoAdminLog) Save(db XODB) error
Save saves the DjangoAdminLog to the database.
func (*DjangoAdminLog) Update ¶
func (dal *DjangoAdminLog) Update(db XODB) error
Update updates the DjangoAdminLog in the database.
func (*DjangoAdminLog) Upsert ¶
func (dal *DjangoAdminLog) Upsert(db XODB) error
Upsert performs an upsert for DjangoAdminLog.
NOTE: PostgreSQL 9.5+ only
type DjangoContentType ¶
type DjangoContentType struct { ID int `json:"id"` // id AppLabel string `json:"app_label"` // app_label Model string `json:"model"` // model // contains filtered or unexported fields }
DjangoContentType represents a row from 'public.django_content_type'.
func DjangoContentTypeByAppLabelModel ¶
func DjangoContentTypeByAppLabelModel(db XODB, appLabel string, model string) (*DjangoContentType, error)
DjangoContentTypeByAppLabelModel retrieves a row from 'public.django_content_type' as a DjangoContentType.
Generated from index 'django_content_type_app_label_76bd3d3b_uniq'.
func DjangoContentTypeByID ¶
func DjangoContentTypeByID(db XODB, id int) (*DjangoContentType, error)
DjangoContentTypeByID retrieves a row from 'public.django_content_type' as a DjangoContentType.
Generated from index 'django_content_type_pkey'.
func (*DjangoContentType) Delete ¶
func (dct *DjangoContentType) Delete(db XODB) error
Delete deletes the DjangoContentType from the database.
func (*DjangoContentType) Deleted ¶
func (dct *DjangoContentType) Deleted() bool
Deleted provides information if the DjangoContentType has been deleted from the database.
func (*DjangoContentType) Exists ¶
func (dct *DjangoContentType) Exists() bool
Exists determines if the DjangoContentType exists in the database.
func (*DjangoContentType) Insert ¶
func (dct *DjangoContentType) Insert(db XODB) error
Insert inserts the DjangoContentType to the database.
func (*DjangoContentType) Save ¶
func (dct *DjangoContentType) Save(db XODB) error
Save saves the DjangoContentType to the database.
func (*DjangoContentType) Update ¶
func (dct *DjangoContentType) Update(db XODB) error
Update updates the DjangoContentType in the database.
func (*DjangoContentType) Upsert ¶
func (dct *DjangoContentType) Upsert(db XODB) error
Upsert performs an upsert for DjangoContentType.
NOTE: PostgreSQL 9.5+ only
type DjangoMigration ¶
type DjangoMigration struct { ID int `json:"id"` // id App string `json:"app"` // app Name string `json:"name"` // name Applied time.Time `json:"applied"` // applied // contains filtered or unexported fields }
DjangoMigration represents a row from 'public.django_migrations'.
func DjangoMigrationByID ¶
func DjangoMigrationByID(db XODB, id int) (*DjangoMigration, error)
DjangoMigrationByID retrieves a row from 'public.django_migrations' as a DjangoMigration.
Generated from index 'django_migrations_pkey'.
func (*DjangoMigration) Delete ¶
func (dm *DjangoMigration) Delete(db XODB) error
Delete deletes the DjangoMigration from the database.
func (*DjangoMigration) Deleted ¶
func (dm *DjangoMigration) Deleted() bool
Deleted provides information if the DjangoMigration has been deleted from the database.
func (*DjangoMigration) Exists ¶
func (dm *DjangoMigration) Exists() bool
Exists determines if the DjangoMigration exists in the database.
func (*DjangoMigration) Insert ¶
func (dm *DjangoMigration) Insert(db XODB) error
Insert inserts the DjangoMigration to the database.
func (*DjangoMigration) Save ¶
func (dm *DjangoMigration) Save(db XODB) error
Save saves the DjangoMigration to the database.
func (*DjangoMigration) Update ¶
func (dm *DjangoMigration) Update(db XODB) error
Update updates the DjangoMigration in the database.
func (*DjangoMigration) Upsert ¶
func (dm *DjangoMigration) Upsert(db XODB) error
Upsert performs an upsert for DjangoMigration.
NOTE: PostgreSQL 9.5+ only
type DjangoSession ¶
type DjangoSession struct { SessionKey string `json:"session_key"` // session_key SessionData string `json:"session_data"` // session_data ExpireDate time.Time `json:"expire_date"` // expire_date // contains filtered or unexported fields }
DjangoSession represents a row from 'public.django_session'.
func DjangoSessionBySessionKey ¶
func DjangoSessionBySessionKey(db XODB, sessionKey string) (*DjangoSession, error)
DjangoSessionBySessionKey retrieves a row from 'public.django_session' as a DjangoSession.
Generated from index 'django_session_pkey'.
func DjangoSessionsByExpireDate ¶
func DjangoSessionsByExpireDate(db XODB, expireDate time.Time) ([]*DjangoSession, error)
DjangoSessionsByExpireDate retrieves a row from 'public.django_session' as a DjangoSession.
Generated from index 'django_session_de54fa62'.
func DjangoSessionsBySessionKey ¶
func DjangoSessionsBySessionKey(db XODB, sessionKey string) ([]*DjangoSession, error)
DjangoSessionsBySessionKey retrieves a row from 'public.django_session' as a DjangoSession.
Generated from index 'django_session_session_key_c0390e0f_like'.
func (*DjangoSession) Delete ¶
func (ds *DjangoSession) Delete(db XODB) error
Delete deletes the DjangoSession from the database.
func (*DjangoSession) Deleted ¶
func (ds *DjangoSession) Deleted() bool
Deleted provides information if the DjangoSession has been deleted from the database.
func (*DjangoSession) Exists ¶
func (ds *DjangoSession) Exists() bool
Exists determines if the DjangoSession exists in the database.
func (*DjangoSession) Insert ¶
func (ds *DjangoSession) Insert(db XODB) error
Insert inserts the DjangoSession to the database.
func (*DjangoSession) Save ¶
func (ds *DjangoSession) Save(db XODB) error
Save saves the DjangoSession to the database.
func (*DjangoSession) Update ¶
func (ds *DjangoSession) Update(db XODB) error
Update updates the DjangoSession in the database.
func (*DjangoSession) Upsert ¶
func (ds *DjangoSession) Upsert(db XODB) error
Upsert performs an upsert for DjangoSession.
NOTE: PostgreSQL 9.5+ only
type EpubsForTopicWithNumberOfMatchedPages ¶
type EpubsForTopicWithNumberOfMatchedPages struct { Title string // title Author string // author Publisher string // publisher Isbn string // isbn NumberOfOccurrences int64 // number_of_occurrences }
EpubsForTopicWithNumberOfMatchedPages represents a row from '[custom epubs_for_topic_with_number_of_matched_pages]'.
func EpubsForTopicWithNumberOfMatchedPagesByTopic_id ¶
func EpubsForTopicWithNumberOfMatchedPagesByTopic_id(db XODB, topic_id int) ([]*EpubsForTopicWithNumberOfMatchedPages, error)
EpubsForTopicWithNumberOfMatchedPagesByTopic_id runs a custom query, returning results as EpubsForTopicWithNumberOfMatchedPages.
type EpubsNumberOfPages ¶
EpubsNumberOfPages represents a row from '[custom epubs_number_of_pages]'.
func GetEpubsNumberOfPages ¶
func GetEpubsNumberOfPages(db XODB) ([]*EpubsNumberOfPages, error)
GetEpubsNumberOfPages runs a custom query, returning results as EpubsNumberOfPages.
type ExternalRelationsForTopic ¶
type ExternalRelationsForTopic struct { Vocabulary string // vocabulary URL string // url Relationship string // relationship }
ExternalRelationsForTopic represents a row from '[custom external_relations_for_topic]'.
func ExternalRelationsForTopicsByTopic_id ¶
func ExternalRelationsForTopicsByTopic_id(db XODB, topic_id int) ([]*ExternalRelationsForTopic, error)
ExternalRelationsForTopicsByTopic_id runs a custom query, returning results as ExternalRelationsForTopic.
type HitBasket ¶
type HitBasket struct { ID int `json:"id"` // id Label string `json:"label"` // label DisplayName string `json:"display_name"` // display_name Description string `json:"description"` // description // contains filtered or unexported fields }
HitBasket represents a row from 'public.hit_basket'.
func HitBasketByID ¶
HitBasketByID retrieves a row from 'public.hit_basket' as a HitBasket.
Generated from index 'hit_basket_pkey'.
func HitBasketsByLabel ¶
HitBasketsByLabel retrieves a row from 'public.hit_basket' as a HitBasket.
Generated from index 'hit_basket_label_bdd340e0_like'.
func (*HitBasket) Deleted ¶
Deleted provides information if the HitBasket has been deleted from the database.
type HitBasketType ¶
type HitBasketType struct { ID int `json:"id"` // id BasketID int `json:"basket_id"` // basket_id TtypeID int `json:"ttype_id"` // ttype_id // contains filtered or unexported fields }
HitBasketType represents a row from 'public.hit_basket_types'.
func HitBasketTypeByBasketIDTtypeID ¶
func HitBasketTypeByBasketIDTtypeID(db XODB, basketID int, ttypeID int) (*HitBasketType, error)
HitBasketTypeByBasketIDTtypeID retrieves a row from 'public.hit_basket_types' as a HitBasketType.
Generated from index 'hit_basket_types_basket_id_6391d845_uniq'.
func HitBasketTypeByID ¶
func HitBasketTypeByID(db XODB, id int) (*HitBasketType, error)
HitBasketTypeByID retrieves a row from 'public.hit_basket_types' as a HitBasketType.
Generated from index 'hit_basket_types_pkey'.
func HitBasketTypesByBasketID ¶
func HitBasketTypesByBasketID(db XODB, basketID int) ([]*HitBasketType, error)
HitBasketTypesByBasketID retrieves a row from 'public.hit_basket_types' as a HitBasketType.
Generated from index 'hit_basket_types_afdeaea9'.
func HitBasketTypesByTtypeID ¶
func HitBasketTypesByTtypeID(db XODB, ttypeID int) ([]*HitBasketType, error)
HitBasketTypesByTtypeID retrieves a row from 'public.hit_basket_types' as a HitBasketType.
Generated from index 'hit_basket_types_fd9cb799'.
func (*HitBasketType) Delete ¶
func (hbt *HitBasketType) Delete(db XODB) error
Delete deletes the HitBasketType from the database.
func (*HitBasketType) Deleted ¶
func (hbt *HitBasketType) Deleted() bool
Deleted provides information if the HitBasketType has been deleted from the database.
func (*HitBasketType) Exists ¶
func (hbt *HitBasketType) Exists() bool
Exists determines if the HitBasketType exists in the database.
func (*HitBasketType) HitBasket ¶
func (hbt *HitBasketType) HitBasket(db XODB) (*HitBasket, error)
HitBasket returns the HitBasket associated with the HitBasketType's BasketID (basket_id).
Generated from foreign key 'hit_basket_types_basket_id_09a8db59_fk_hit_basket_id'.
func (*HitBasketType) Insert ¶
func (hbt *HitBasketType) Insert(db XODB) error
Insert inserts the HitBasketType to the database.
func (*HitBasketType) Save ¶
func (hbt *HitBasketType) Save(db XODB) error
Save saves the HitBasketType to the database.
func (*HitBasketType) TopicTtype ¶
func (hbt *HitBasketType) TopicTtype(db XODB) (*TopicTtype, error)
TopicTtype returns the TopicTtype associated with the HitBasketType's TtypeID (ttype_id).
Generated from foreign key 'hit_basket_types_ttype_id_bf919b76_fk_topic_ttype_id'.
func (*HitBasketType) Update ¶
func (hbt *HitBasketType) Update(db XODB) error
Update updates the HitBasketType in the database.
func (*HitBasketType) Upsert ¶
func (hbt *HitBasketType) Upsert(db XODB) error
Upsert performs an upsert for HitBasketType.
NOTE: PostgreSQL 9.5+ only
type HitHit ¶
type HitHit struct { ID int `json:"id"` // id Name string `json:"name"` // name Slug string `json:"slug"` // slug Hidden bool `json:"hidden"` // hidden Preferred bool `json:"preferred"` // preferred Bypass bool `json:"bypass"` // bypass BasketID sql.NullInt64 `json:"basket_id"` // basket_id ScopeID int `json:"scope_id"` // scope_id Kind sql.NullString `json:"kind"` // kind // contains filtered or unexported fields }
HitHit represents a row from 'public.hit_hit'.
func HitHitByID ¶
HitHitByID retrieves a row from 'public.hit_hit' as a HitHit.
Generated from index 'hit_hit_pkey'.
func HitHitByNameScopeID ¶
HitHitByNameScopeID retrieves a row from 'public.hit_hit' as a HitHit.
Generated from index 'hit_hit_name_4ad65e77_uniq'.
func HitHitsByBasketID ¶
HitHitsByBasketID retrieves a row from 'public.hit_hit' as a HitHit.
Generated from index 'hit_hit_afdeaea9'.
func HitHitsByName ¶
HitHitsByName retrieves a row from 'public.hit_hit' as a HitHit.
Generated from index 'hit_hit_b068931c'.
func HitHitsByScopeID ¶
HitHitsByScopeID retrieves a row from 'public.hit_hit' as a HitHit.
Generated from index 'hit_hit_945206a2'.
func HitHitsBySlug ¶
HitHitsBySlug retrieves a row from 'public.hit_hit' as a HitHit.
Generated from index 'hit_hit_2dbcba41'.
func (*HitHit) Deleted ¶
Deleted provides information if the HitHit has been deleted from the database.
func (*HitHit) HitBasket ¶
HitBasket returns the HitBasket associated with the HitHit's BasketID (basket_id).
Generated from foreign key 'hit_hit_basket_id_ee241c51_fk_hit_basket_id'.
func (*HitHit) HitScope ¶
HitScope returns the HitScope associated with the HitHit's ScopeID (scope_id).
Generated from foreign key 'hit_hit_scope_id_e36d88b4_fk_hit_scope_id'.
type HitScope ¶
type HitScope struct { ID int `json:"id"` // id Scope string `json:"scope"` // scope Description sql.NullString `json:"description"` // description // contains filtered or unexported fields }
HitScope represents a row from 'public.hit_scope'.
func HitScopeByID ¶
HitScopeByID retrieves a row from 'public.hit_scope' as a HitScope.
Generated from index 'hit_scope_pkey'.
func HitScopeByScope ¶
HitScopeByScope retrieves a row from 'public.hit_scope' as a HitScope.
Generated from index 'hit_scope_scope_key'.
func HitScopesByScope ¶
HitScopesByScope retrieves a row from 'public.hit_scope' as a HitScope.
Generated from index 'hit_scope_scope_e1a2f469_like'.
func (*HitScope) Deleted ¶
Deleted provides information if the HitScope has been deleted from the database.
type LexRecognizer ¶
type LexRecognizer struct { ID int `json:"id"` // id Description string `json:"description"` // description Recognizer string `json:"recognizer"` // recognizer Replacer string `json:"replacer"` // replacer Passthrough bool `json:"passthrough"` // passthrough Priority float64 `json:"priority"` // priority // contains filtered or unexported fields }
LexRecognizer represents a row from 'public.lex_recognizer'.
func LexRecognizerByID ¶
func LexRecognizerByID(db XODB, id int) (*LexRecognizer, error)
LexRecognizerByID retrieves a row from 'public.lex_recognizer' as a LexRecognizer.
Generated from index 'lex_recognizer_pkey'.
func LexRecognizersByReplacer ¶
func LexRecognizersByReplacer(db XODB, replacer string) ([]*LexRecognizer, error)
LexRecognizersByReplacer retrieves a row from 'public.lex_recognizer' as a LexRecognizer.
Generated from index 'lex_recognizer_810b48a6'.
func (*LexRecognizer) Delete ¶
func (lr *LexRecognizer) Delete(db XODB) error
Delete deletes the LexRecognizer from the database.
func (*LexRecognizer) Deleted ¶
func (lr *LexRecognizer) Deleted() bool
Deleted provides information if the LexRecognizer has been deleted from the database.
func (*LexRecognizer) Exists ¶
func (lr *LexRecognizer) Exists() bool
Exists determines if the LexRecognizer exists in the database.
func (*LexRecognizer) Insert ¶
func (lr *LexRecognizer) Insert(db XODB) error
Insert inserts the LexRecognizer to the database.
func (*LexRecognizer) Save ¶
func (lr *LexRecognizer) Save(db XODB) error
Save saves the LexRecognizer to the database.
func (*LexRecognizer) Update ¶
func (lr *LexRecognizer) Update(db XODB) error
Update updates the LexRecognizer in the database.
func (*LexRecognizer) Upsert ¶
func (lr *LexRecognizer) Upsert(db XODB) error
Upsert performs an upsert for LexRecognizer.
NOTE: PostgreSQL 9.5+ only
type LexStopword ¶
type LexStopword struct { ID int `json:"id"` // id Word string `json:"word"` // word // contains filtered or unexported fields }
LexStopword represents a row from 'public.lex_stopword'.
func LexStopwordByID ¶
func LexStopwordByID(db XODB, id int) (*LexStopword, error)
LexStopwordByID retrieves a row from 'public.lex_stopword' as a LexStopword.
Generated from index 'lex_stopword_pkey'.
func LexStopwordByWord ¶
func LexStopwordByWord(db XODB, word string) (*LexStopword, error)
LexStopwordByWord retrieves a row from 'public.lex_stopword' as a LexStopword.
Generated from index 'lex_stopword_word_key'.
func LexStopwordsByWord ¶
func LexStopwordsByWord(db XODB, word string) ([]*LexStopword, error)
LexStopwordsByWord retrieves a row from 'public.lex_stopword' as a LexStopword.
Generated from index 'lex_stopword_word_1e92c643_like'.
func (*LexStopword) Delete ¶
func (ls *LexStopword) Delete(db XODB) error
Delete deletes the LexStopword from the database.
func (*LexStopword) Deleted ¶
func (ls *LexStopword) Deleted() bool
Deleted provides information if the LexStopword has been deleted from the database.
func (*LexStopword) Exists ¶
func (ls *LexStopword) Exists() bool
Exists determines if the LexStopword exists in the database.
func (*LexStopword) Insert ¶
func (ls *LexStopword) Insert(db XODB) error
Insert inserts the LexStopword to the database.
func (*LexStopword) Save ¶
func (ls *LexStopword) Save(db XODB) error
Save saves the LexStopword to the database.
func (*LexStopword) Update ¶
func (ls *LexStopword) Update(db XODB) error
Update updates the LexStopword in the database.
func (*LexStopword) Upsert ¶
func (ls *LexStopword) Upsert(db XODB) error
Upsert performs an upsert for LexStopword.
NOTE: PostgreSQL 9.5+ only
type ManuscriptsIndex ¶
type ManuscriptsIndex struct { ID int `json:"id"` // id RelativeLocation string `json:"relative_location"` // relative_location EpubID int `json:"epub_id"` // epub_id IndexpatternID sql.NullInt64 `json:"indexpattern_id"` // indexpattern_id // contains filtered or unexported fields }
ManuscriptsIndex represents a row from 'public.manuscripts_index'.
func ManuscriptsIndexByID ¶
func ManuscriptsIndexByID(db XODB, id int) (*ManuscriptsIndex, error)
ManuscriptsIndexByID retrieves a row from 'public.manuscripts_index' as a ManuscriptsIndex.
Generated from index 'manuscripts_index_pkey'.
func ManuscriptsIndicesByEpubID ¶
func ManuscriptsIndicesByEpubID(db XODB, epubID int) ([]*ManuscriptsIndex, error)
ManuscriptsIndicesByEpubID retrieves a row from 'public.manuscripts_index' as a ManuscriptsIndex.
Generated from index 'manuscripts_index_68ad2686'.
func ManuscriptsIndicesByIndexpatternID ¶
func ManuscriptsIndicesByIndexpatternID(db XODB, indexpatternID sql.NullInt64) ([]*ManuscriptsIndex, error)
ManuscriptsIndicesByIndexpatternID retrieves a row from 'public.manuscripts_index' as a ManuscriptsIndex.
Generated from index 'manuscripts_index_10a61c0b'.
func (*ManuscriptsIndex) Delete ¶
func (mi *ManuscriptsIndex) Delete(db XODB) error
Delete deletes the ManuscriptsIndex from the database.
func (*ManuscriptsIndex) Deleted ¶
func (mi *ManuscriptsIndex) Deleted() bool
Deleted provides information if the ManuscriptsIndex has been deleted from the database.
func (*ManuscriptsIndex) Exists ¶
func (mi *ManuscriptsIndex) Exists() bool
Exists determines if the ManuscriptsIndex exists in the database.
func (*ManuscriptsIndex) Insert ¶
func (mi *ManuscriptsIndex) Insert(db XODB) error
Insert inserts the ManuscriptsIndex to the database.
func (*ManuscriptsIndex) ManuscriptsIndexpattern ¶
func (mi *ManuscriptsIndex) ManuscriptsIndexpattern(db XODB) (*ManuscriptsIndexpattern, error)
ManuscriptsIndexpattern returns the ManuscriptsIndexpattern associated with the ManuscriptsIndex's IndexpatternID (indexpattern_id).
Generated from foreign key 'manuscr_indexpattern_id_1891e852_fk_manuscripts_indexpattern_id'.
func (*ManuscriptsIndex) OccurrenceDocument ¶
func (mi *ManuscriptsIndex) OccurrenceDocument(db XODB) (*OccurrenceDocument, error)
OccurrenceDocument returns the OccurrenceDocument associated with the ManuscriptsIndex's EpubID (epub_id).
Generated from foreign key 'manuscripts_index_epub_id_99cb642d_fk_occurrence_document_id'.
func (*ManuscriptsIndex) Save ¶
func (mi *ManuscriptsIndex) Save(db XODB) error
Save saves the ManuscriptsIndex to the database.
func (*ManuscriptsIndex) Update ¶
func (mi *ManuscriptsIndex) Update(db XODB) error
Update updates the ManuscriptsIndex in the database.
func (*ManuscriptsIndex) Upsert ¶
func (mi *ManuscriptsIndex) Upsert(db XODB) error
Upsert performs an upsert for ManuscriptsIndex.
NOTE: PostgreSQL 9.5+ only
type ManuscriptsIndexpattern ¶
type ManuscriptsIndexpattern struct { ID int `json:"id"` // id Name string `json:"name"` // name Description string `json:"description"` // description PagenumberPreStrings StringSlice `json:"pagenumber_pre_strings"` // pagenumber_pre_strings XpathEntry string `json:"xpath_entry"` // xpath_entry XpathSee string `json:"xpath_see"` // xpath_see XpathSeealso string `json:"xpath_seealso"` // xpath_seealso SeparatorBetweenEntryAndOccurrences string `json:"separator_between_entry_and_occurrences"` // separator_between_entry_and_occurrences SeparatorBeforeFirstSubentry string `json:"separator_before_first_subentry"` // separator_before_first_subentry SeparatorBetweenSubentries string `json:"separator_between_subentries"` // separator_between_subentries SeparatorBetweenSees string `json:"separator_between_sees"` // separator_between_sees SeparatorBetweenSeealsos string `json:"separator_between_seealsos"` // separator_between_seealsos XpathOccurrenceLink string `json:"xpath_occurrence_link"` // xpath_occurrence_link SeparatorSeeSubentry string `json:"separator_see_subentry"` // separator_see_subentry SeeAlsoSplitStrings StringSlice `json:"see_also_split_strings"` // see_also_split_strings IndicatorsOfOccurrenceRange StringSlice `json:"indicators_of_occurrence_range"` // indicators_of_occurrence_range SeeSplitStrings StringSlice `json:"see_split_strings"` // see_split_strings InlineSeeAlsoEnd string `json:"inline_see_also_end"` // inline_see_also_end InlineSeeAlsoStart string `json:"inline_see_also_start"` // inline_see_also_start InlineSeeEnd string `json:"inline_see_end"` // inline_see_end InlineSeeStart string `json:"inline_see_start"` // inline_see_start SubentryClasses StringSlice `json:"subentry_classes"` // subentry_classes PagenumberCSSSelectorPattern string `json:"pagenumber_css_selector_pattern"` // pagenumber_css_selector_pattern PagenumberTagPattern string `json:"pagenumber_tag_pattern"` // pagenumber_tag_pattern PagenumberXpathPattern string `json:"pagenumber_xpath_pattern"` // pagenumber_xpath_pattern // contains filtered or unexported fields }
ManuscriptsIndexpattern represents a row from 'public.manuscripts_indexpattern'.
func ManuscriptsIndexpatternByID ¶
func ManuscriptsIndexpatternByID(db XODB, id int) (*ManuscriptsIndexpattern, error)
ManuscriptsIndexpatternByID retrieves a row from 'public.manuscripts_indexpattern' as a ManuscriptsIndexpattern.
Generated from index 'manuscripts_indexpattern_pkey'.
func ManuscriptsIndexpatternByName ¶
func ManuscriptsIndexpatternByName(db XODB, name string) (*ManuscriptsIndexpattern, error)
ManuscriptsIndexpatternByName retrieves a row from 'public.manuscripts_indexpattern' as a ManuscriptsIndexpattern.
Generated from index 'manuscripts_indexpattern_name_key'.
func ManuscriptsIndexpatternsByName ¶
func ManuscriptsIndexpatternsByName(db XODB, name string) ([]*ManuscriptsIndexpattern, error)
ManuscriptsIndexpatternsByName retrieves a row from 'public.manuscripts_indexpattern' as a ManuscriptsIndexpattern.
Generated from index 'manuscripts_indexpattern_name_f4a44544_like'.
func (*ManuscriptsIndexpattern) Delete ¶
func (mi *ManuscriptsIndexpattern) Delete(db XODB) error
Delete deletes the ManuscriptsIndexpattern from the database.
func (*ManuscriptsIndexpattern) Deleted ¶
func (mi *ManuscriptsIndexpattern) Deleted() bool
Deleted provides information if the ManuscriptsIndexpattern has been deleted from the database.
func (*ManuscriptsIndexpattern) Exists ¶
func (mi *ManuscriptsIndexpattern) Exists() bool
Exists determines if the ManuscriptsIndexpattern exists in the database.
func (*ManuscriptsIndexpattern) Insert ¶
func (mi *ManuscriptsIndexpattern) Insert(db XODB) error
Insert inserts the ManuscriptsIndexpattern to the database.
func (*ManuscriptsIndexpattern) Save ¶
func (mi *ManuscriptsIndexpattern) Save(db XODB) error
Save saves the ManuscriptsIndexpattern to the database.
func (*ManuscriptsIndexpattern) Update ¶
func (mi *ManuscriptsIndexpattern) Update(db XODB) error
Update updates the ManuscriptsIndexpattern in the database.
func (*ManuscriptsIndexpattern) Upsert ¶
func (mi *ManuscriptsIndexpattern) Upsert(db XODB) error
Upsert performs an upsert for ManuscriptsIndexpattern.
NOTE: PostgreSQL 9.5+ only
type OccurrenceContent ¶
type OccurrenceContent struct { ID int `json:"id"` // id ContentUniqueIndicator sql.NullString `json:"content_unique_indicator"` // content_unique_indicator ContentDescriptor string `json:"content_descriptor"` // content_descriptor Text string `json:"text"` // text // contains filtered or unexported fields }
OccurrenceContent represents a row from 'public.occurrence_content'.
func OccurrenceContentByContentUniqueIndicator ¶
func OccurrenceContentByContentUniqueIndicator(db XODB, contentUniqueIndicator sql.NullString) (*OccurrenceContent, error)
OccurrenceContentByContentUniqueIndicator retrieves a row from 'public.occurrence_content' as a OccurrenceContent.
Generated from index 'occurrence_content_content_unique_indicator_key'.
func OccurrenceContentByID ¶
func OccurrenceContentByID(db XODB, id int) (*OccurrenceContent, error)
OccurrenceContentByID retrieves a row from 'public.occurrence_content' as a OccurrenceContent.
Generated from index 'occurrence_content_pkey'.
func OccurrenceContentsByContentUniqueIndicator ¶
func OccurrenceContentsByContentUniqueIndicator(db XODB, contentUniqueIndicator sql.NullString) ([]*OccurrenceContent, error)
OccurrenceContentsByContentUniqueIndicator retrieves a row from 'public.occurrence_content' as a OccurrenceContent.
Generated from index 'occurrence_content_content_unique_indicator_f6c70273_like'.
func (*OccurrenceContent) Delete ¶
func (oc *OccurrenceContent) Delete(db XODB) error
Delete deletes the OccurrenceContent from the database.
func (*OccurrenceContent) Deleted ¶
func (oc *OccurrenceContent) Deleted() bool
Deleted provides information if the OccurrenceContent has been deleted from the database.
func (*OccurrenceContent) Exists ¶
func (oc *OccurrenceContent) Exists() bool
Exists determines if the OccurrenceContent exists in the database.
func (*OccurrenceContent) Insert ¶
func (oc *OccurrenceContent) Insert(db XODB) error
Insert inserts the OccurrenceContent to the database.
func (*OccurrenceContent) Save ¶
func (oc *OccurrenceContent) Save(db XODB) error
Save saves the OccurrenceContent to the database.
func (*OccurrenceContent) Update ¶
func (oc *OccurrenceContent) Update(db XODB) error
Update updates the OccurrenceContent in the database.
func (*OccurrenceContent) Upsert ¶
func (oc *OccurrenceContent) Upsert(db XODB) error
Upsert performs an upsert for OccurrenceContent.
NOTE: PostgreSQL 9.5+ only
type OccurrenceDocument ¶
type OccurrenceDocument struct { ID int `json:"id"` // id Title sql.NullString `json:"title"` // title Author sql.NullString `json:"author"` // author // contains filtered or unexported fields }
OccurrenceDocument represents a row from 'public.occurrence_document'.
func OccurrenceDocumentByID ¶
func OccurrenceDocumentByID(db XODB, id int) (*OccurrenceDocument, error)
OccurrenceDocumentByID retrieves a row from 'public.occurrence_document' as a OccurrenceDocument.
Generated from index 'occurrence_document_pkey'.
func (*OccurrenceDocument) Delete ¶
func (od *OccurrenceDocument) Delete(db XODB) error
Delete deletes the OccurrenceDocument from the database.
func (*OccurrenceDocument) Deleted ¶
func (od *OccurrenceDocument) Deleted() bool
Deleted provides information if the OccurrenceDocument has been deleted from the database.
func (*OccurrenceDocument) Exists ¶
func (od *OccurrenceDocument) Exists() bool
Exists determines if the OccurrenceDocument exists in the database.
func (*OccurrenceDocument) Insert ¶
func (od *OccurrenceDocument) Insert(db XODB) error
Insert inserts the OccurrenceDocument to the database.
func (*OccurrenceDocument) Save ¶
func (od *OccurrenceDocument) Save(db XODB) error
Save saves the OccurrenceDocument to the database.
func (*OccurrenceDocument) Update ¶
func (od *OccurrenceDocument) Update(db XODB) error
Update updates the OccurrenceDocument in the database.
func (*OccurrenceDocument) Upsert ¶
func (od *OccurrenceDocument) Upsert(db XODB) error
Upsert performs an upsert for OccurrenceDocument.
NOTE: PostgreSQL 9.5+ only
type OccurrenceLocation ¶
type OccurrenceLocation struct { ID int `json:"id"` // id SequenceNumber sql.NullInt64 `json:"sequence_number"` // sequence_number Filepath string `json:"filepath"` // filepath Localid sql.NullString `json:"localid"` // localid Context sql.NullString `json:"context"` // context ContentID sql.NullInt64 `json:"content_id"` // content_id DocumentID sql.NullInt64 `json:"document_id"` // document_id // contains filtered or unexported fields }
OccurrenceLocation represents a row from 'public.occurrence_location'.
func OccurrenceLocationByID ¶
func OccurrenceLocationByID(db XODB, id int) (*OccurrenceLocation, error)
OccurrenceLocationByID retrieves a row from 'public.occurrence_location' as a OccurrenceLocation.
Generated from index 'occurrence_location_pkey'.
func OccurrenceLocationByLocalidFilepath ¶
func OccurrenceLocationByLocalidFilepath(db XODB, localid sql.NullString, filepath string) (*OccurrenceLocation, error)
OccurrenceLocationByLocalidFilepath retrieves a row from 'public.occurrence_location' as a OccurrenceLocation.
Generated from index 'occurrence_location_localid_01670c73_uniq'.
func OccurrenceLocationsByContentID ¶
func OccurrenceLocationsByContentID(db XODB, contentID sql.NullInt64) ([]*OccurrenceLocation, error)
OccurrenceLocationsByContentID retrieves a row from 'public.occurrence_location' as a OccurrenceLocation.
Generated from index 'occurrence_location_e14f02ad'.
func OccurrenceLocationsByDocumentID ¶
func OccurrenceLocationsByDocumentID(db XODB, documentID sql.NullInt64) ([]*OccurrenceLocation, error)
OccurrenceLocationsByDocumentID retrieves a row from 'public.occurrence_location' as a OccurrenceLocation.
Generated from index 'occurrence_location_e7fafc10'.
func (*OccurrenceLocation) Delete ¶
func (ol *OccurrenceLocation) Delete(db XODB) error
Delete deletes the OccurrenceLocation from the database.
func (*OccurrenceLocation) Deleted ¶
func (ol *OccurrenceLocation) Deleted() bool
Deleted provides information if the OccurrenceLocation has been deleted from the database.
func (*OccurrenceLocation) Exists ¶
func (ol *OccurrenceLocation) Exists() bool
Exists determines if the OccurrenceLocation exists in the database.
func (*OccurrenceLocation) Insert ¶
func (ol *OccurrenceLocation) Insert(db XODB) error
Insert inserts the OccurrenceLocation to the database.
func (*OccurrenceLocation) OccurrenceContent ¶
func (ol *OccurrenceLocation) OccurrenceContent(db XODB) (*OccurrenceContent, error)
OccurrenceContent returns the OccurrenceContent associated with the OccurrenceLocation's ContentID (content_id).
Generated from foreign key 'occurrence_locatio_content_id_c580bd8e_fk_occurrence_content_id'.
func (*OccurrenceLocation) OccurrenceDocument ¶
func (ol *OccurrenceLocation) OccurrenceDocument(db XODB) (*OccurrenceDocument, error)
OccurrenceDocument returns the OccurrenceDocument associated with the OccurrenceLocation's DocumentID (document_id).
Generated from foreign key 'occurrence_locat_document_id_74762608_fk_occurrence_document_id'.
func (*OccurrenceLocation) Save ¶
func (ol *OccurrenceLocation) Save(db XODB) error
Save saves the OccurrenceLocation to the database.
func (*OccurrenceLocation) Update ¶
func (ol *OccurrenceLocation) Update(db XODB) error
Update updates the OccurrenceLocation in the database.
func (*OccurrenceLocation) Upsert ¶
func (ol *OccurrenceLocation) Upsert(db XODB) error
Upsert performs an upsert for OccurrenceLocation.
NOTE: PostgreSQL 9.5+ only
type OccurrenceOccurrence ¶
type OccurrenceOccurrence struct { ID int `json:"id"` // id HitInContent sql.NullString `json:"hit_in_content"` // hit_in_content BasketID sql.NullInt64 `json:"basket_id"` // basket_id LocationID sql.NullInt64 `json:"location_id"` // location_id Order int `json:"_order"` // _order // contains filtered or unexported fields }
OccurrenceOccurrence represents a row from 'public.occurrence_occurrence'.
func OccurrenceOccurrenceByID ¶
func OccurrenceOccurrenceByID(db XODB, id int) (*OccurrenceOccurrence, error)
OccurrenceOccurrenceByID retrieves a row from 'public.occurrence_occurrence' as a OccurrenceOccurrence.
Generated from index 'occurrence_occurrence_pkey'.
func OccurrenceOccurrencesByBasketID ¶
func OccurrenceOccurrencesByBasketID(db XODB, basketID sql.NullInt64) ([]*OccurrenceOccurrence, error)
OccurrenceOccurrencesByBasketID retrieves a row from 'public.occurrence_occurrence' as a OccurrenceOccurrence.
Generated from index 'occurrence_occurrence_afdeaea9'.
func OccurrenceOccurrencesByLocationID ¶
func OccurrenceOccurrencesByLocationID(db XODB, locationID sql.NullInt64) ([]*OccurrenceOccurrence, error)
OccurrenceOccurrencesByLocationID retrieves a row from 'public.occurrence_occurrence' as a OccurrenceOccurrence.
Generated from index 'occurrence_occurrence_b171ba63'.
func (*OccurrenceOccurrence) Delete ¶
func (oo *OccurrenceOccurrence) Delete(db XODB) error
Delete deletes the OccurrenceOccurrence from the database.
func (*OccurrenceOccurrence) Deleted ¶
func (oo *OccurrenceOccurrence) Deleted() bool
Deleted provides information if the OccurrenceOccurrence has been deleted from the database.
func (*OccurrenceOccurrence) Exists ¶
func (oo *OccurrenceOccurrence) Exists() bool
Exists determines if the OccurrenceOccurrence exists in the database.
func (*OccurrenceOccurrence) HitBasket ¶
func (oo *OccurrenceOccurrence) HitBasket(db XODB) (*HitBasket, error)
HitBasket returns the HitBasket associated with the OccurrenceOccurrence's BasketID (basket_id).
Generated from foreign key 'occurrence_occurrence_basket_id_3a5fce9a_fk_hit_basket_id'.
func (*OccurrenceOccurrence) Insert ¶
func (oo *OccurrenceOccurrence) Insert(db XODB) error
Insert inserts the OccurrenceOccurrence to the database.
func (*OccurrenceOccurrence) OccurrenceLocation ¶
func (oo *OccurrenceOccurrence) OccurrenceLocation(db XODB) (*OccurrenceLocation, error)
OccurrenceLocation returns the OccurrenceLocation associated with the OccurrenceOccurrence's LocationID (location_id).
Generated from foreign key 'occurrence_occur_location_id_0469bb62_fk_occurrence_location_id'.
func (*OccurrenceOccurrence) Save ¶
func (oo *OccurrenceOccurrence) Save(db XODB) error
Save saves the OccurrenceOccurrence to the database.
func (*OccurrenceOccurrence) Update ¶
func (oo *OccurrenceOccurrence) Update(db XODB) error
Update updates the OccurrenceOccurrence in the database.
func (*OccurrenceOccurrence) Upsert ¶
func (oo *OccurrenceOccurrence) Upsert(db XODB) error
Upsert performs an upsert for OccurrenceOccurrence.
NOTE: PostgreSQL 9.5+ only
type OtxEpubEpub ¶
type OtxEpubEpub struct { DocumentPtrID int `json:"document_ptr_id"` // document_ptr_id Publisher string `json:"publisher"` // publisher Source string `json:"source"` // source OebpsFolder string `json:"oebps_folder"` // oebps_folder Manifest string `json:"manifest"` // manifest Contents string `json:"contents"` // contents // contains filtered or unexported fields }
OtxEpubEpub represents a row from 'public.otx_epub_epub'.
func OtxEpubEpubByDocumentPtrID ¶
func OtxEpubEpubByDocumentPtrID(db XODB, documentPtrID int) (*OtxEpubEpub, error)
OtxEpubEpubByDocumentPtrID retrieves a row from 'public.otx_epub_epub' as a OtxEpubEpub.
Generated from index 'otx_epub_epub_pkey'.
func (*OtxEpubEpub) Delete ¶
func (oee *OtxEpubEpub) Delete(db XODB) error
Delete deletes the OtxEpubEpub from the database.
func (*OtxEpubEpub) Deleted ¶
func (oee *OtxEpubEpub) Deleted() bool
Deleted provides information if the OtxEpubEpub has been deleted from the database.
func (*OtxEpubEpub) Exists ¶
func (oee *OtxEpubEpub) Exists() bool
Exists determines if the OtxEpubEpub exists in the database.
func (*OtxEpubEpub) Insert ¶
func (oee *OtxEpubEpub) Insert(db XODB) error
Insert inserts the OtxEpubEpub to the database.
func (*OtxEpubEpub) OccurrenceDocument ¶
func (oee *OtxEpubEpub) OccurrenceDocument(db XODB) (*OccurrenceDocument, error)
OccurrenceDocument returns the OccurrenceDocument associated with the OtxEpubEpub's DocumentPtrID (document_ptr_id).
Generated from foreign key 'otx_epub_epu_document_ptr_id_af55e311_fk_occurrence_document_id'.
func (*OtxEpubEpub) Save ¶
func (oee *OtxEpubEpub) Save(db XODB) error
Save saves the OtxEpubEpub to the database.
func (*OtxEpubEpub) Update ¶
func (oee *OtxEpubEpub) Update(db XODB) error
Update updates the OtxEpubEpub in the database.
func (*OtxEpubEpub) Upsert ¶
func (oee *OtxEpubEpub) Upsert(db XODB) error
Upsert performs an upsert for OtxEpubEpub.
NOTE: PostgreSQL 9.5+ only
type OtxReviewReport ¶
type OtxReviewReport struct { ID int `json:"id"` // id Time time.Time `json:"time"` // time TopicSet string `json:"topic_set"` // topic_set Location string `json:"location"` // location // contains filtered or unexported fields }
OtxReviewReport represents a row from 'public.otx_review_report'.
func OtxReviewReportByID ¶
func OtxReviewReportByID(db XODB, id int) (*OtxReviewReport, error)
OtxReviewReportByID retrieves a row from 'public.otx_review_report' as a OtxReviewReport.
Generated from index 'otx_review_report_pkey'.
func (*OtxReviewReport) Delete ¶
func (orr *OtxReviewReport) Delete(db XODB) error
Delete deletes the OtxReviewReport from the database.
func (*OtxReviewReport) Deleted ¶
func (orr *OtxReviewReport) Deleted() bool
Deleted provides information if the OtxReviewReport has been deleted from the database.
func (*OtxReviewReport) Exists ¶
func (orr *OtxReviewReport) Exists() bool
Exists determines if the OtxReviewReport exists in the database.
func (*OtxReviewReport) Insert ¶
func (orr *OtxReviewReport) Insert(db XODB) error
Insert inserts the OtxReviewReport to the database.
func (*OtxReviewReport) Save ¶
func (orr *OtxReviewReport) Save(db XODB) error
Save saves the OtxReviewReport to the database.
func (*OtxReviewReport) Update ¶
func (orr *OtxReviewReport) Update(db XODB) error
Update updates the OtxReviewReport in the database.
func (*OtxReviewReport) Upsert ¶
func (orr *OtxReviewReport) Upsert(db XODB) error
Upsert performs an upsert for OtxReviewReport.
NOTE: PostgreSQL 9.5+ only
type OtxReviewReview ¶
type OtxReviewReview struct { ID int `json:"id"` // id Time pq.NullTime `json:"time"` // time Reviewed bool `json:"reviewed"` // reviewed BasketID int `json:"basket_id"` // basket_id ReviewerID sql.NullInt64 `json:"reviewer_id"` // reviewer_id Changed bool `json:"changed"` // changed // contains filtered or unexported fields }
OtxReviewReview represents a row from 'public.otx_review_review'.
func OtxReviewReviewByBasketID ¶
func OtxReviewReviewByBasketID(db XODB, basketID int) (*OtxReviewReview, error)
OtxReviewReviewByBasketID retrieves a row from 'public.otx_review_review' as a OtxReviewReview.
Generated from index 'otx_review_review_basket_id_key'.
func OtxReviewReviewByID ¶
func OtxReviewReviewByID(db XODB, id int) (*OtxReviewReview, error)
OtxReviewReviewByID retrieves a row from 'public.otx_review_review' as a OtxReviewReview.
Generated from index 'otx_review_review_pkey'.
func OtxReviewReviewsByReviewerID ¶
func OtxReviewReviewsByReviewerID(db XODB, reviewerID sql.NullInt64) ([]*OtxReviewReview, error)
OtxReviewReviewsByReviewerID retrieves a row from 'public.otx_review_review' as a OtxReviewReview.
Generated from index 'otx_review_review_071d8141'.
func (*OtxReviewReview) AuthUser ¶
func (orr *OtxReviewReview) AuthUser(db XODB) (*AuthUser, error)
AuthUser returns the AuthUser associated with the OtxReviewReview's ReviewerID (reviewer_id).
Generated from foreign key 'otx_review_review_reviewer_id_1c99d78e_fk_auth_user_id'.
func (*OtxReviewReview) Delete ¶
func (orr *OtxReviewReview) Delete(db XODB) error
Delete deletes the OtxReviewReview from the database.
func (*OtxReviewReview) Deleted ¶
func (orr *OtxReviewReview) Deleted() bool
Deleted provides information if the OtxReviewReview has been deleted from the database.
func (*OtxReviewReview) Exists ¶
func (orr *OtxReviewReview) Exists() bool
Exists determines if the OtxReviewReview exists in the database.
func (*OtxReviewReview) HitBasket ¶
func (orr *OtxReviewReview) HitBasket(db XODB) (*HitBasket, error)
HitBasket returns the HitBasket associated with the OtxReviewReview's BasketID (basket_id).
Generated from foreign key 'otx_review_review_basket_id_0bcdb7dc_fk_hit_basket_id'.
func (*OtxReviewReview) Insert ¶
func (orr *OtxReviewReview) Insert(db XODB) error
Insert inserts the OtxReviewReview to the database.
func (*OtxReviewReview) Save ¶
func (orr *OtxReviewReview) Save(db XODB) error
Save saves the OtxReviewReview to the database.
func (*OtxReviewReview) Update ¶
func (orr *OtxReviewReview) Update(db XODB) error
Update updates the OtxReviewReview in the database.
func (*OtxReviewReview) Upsert ¶
func (orr *OtxReviewReview) Upsert(db XODB) error
Upsert performs an upsert for OtxReviewReview.
NOTE: PostgreSQL 9.5+ only
type OtxWeblinkWeblink ¶
type OtxWeblinkWeblink struct { ID int `json:"id"` // id URL sql.NullString `json:"url"` // url Content sql.NullString `json:"content"` // content // contains filtered or unexported fields }
OtxWeblinkWeblink represents a row from 'public.otx_weblink_weblink'.
func OtxWeblinkWeblinkByID ¶
func OtxWeblinkWeblinkByID(db XODB, id int) (*OtxWeblinkWeblink, error)
OtxWeblinkWeblinkByID retrieves a row from 'public.otx_weblink_weblink' as a OtxWeblinkWeblink.
Generated from index 'otx_weblink_weblink_pkey'.
func (*OtxWeblinkWeblink) Delete ¶
func (oww *OtxWeblinkWeblink) Delete(db XODB) error
Delete deletes the OtxWeblinkWeblink from the database.
func (*OtxWeblinkWeblink) Deleted ¶
func (oww *OtxWeblinkWeblink) Deleted() bool
Deleted provides information if the OtxWeblinkWeblink has been deleted from the database.
func (*OtxWeblinkWeblink) Exists ¶
func (oww *OtxWeblinkWeblink) Exists() bool
Exists determines if the OtxWeblinkWeblink exists in the database.
func (*OtxWeblinkWeblink) Insert ¶
func (oww *OtxWeblinkWeblink) Insert(db XODB) error
Insert inserts the OtxWeblinkWeblink to the database.
func (*OtxWeblinkWeblink) Save ¶
func (oww *OtxWeblinkWeblink) Save(db XODB) error
Save saves the OtxWeblinkWeblink to the database.
func (*OtxWeblinkWeblink) Update ¶
func (oww *OtxWeblinkWeblink) Update(db XODB) error
Update updates the OtxWeblinkWeblink in the database.
func (*OtxWeblinkWeblink) Upsert ¶
func (oww *OtxWeblinkWeblink) Upsert(db XODB) error
Upsert performs an upsert for OtxWeblinkWeblink.
NOTE: PostgreSQL 9.5+ only
type OtxWeblinkWeblinkBasket ¶
type OtxWeblinkWeblinkBasket struct { ID int `json:"id"` // id WeblinkID int `json:"weblink_id"` // weblink_id BasketID int `json:"basket_id"` // basket_id // contains filtered or unexported fields }
OtxWeblinkWeblinkBasket represents a row from 'public.otx_weblink_weblink_baskets'.
func OtxWeblinkWeblinkBasketByID ¶
func OtxWeblinkWeblinkBasketByID(db XODB, id int) (*OtxWeblinkWeblinkBasket, error)
OtxWeblinkWeblinkBasketByID retrieves a row from 'public.otx_weblink_weblink_baskets' as a OtxWeblinkWeblinkBasket.
Generated from index 'otx_weblink_weblink_baskets_pkey'.
func OtxWeblinkWeblinkBasketByWeblinkIDBasketID ¶
func OtxWeblinkWeblinkBasketByWeblinkIDBasketID(db XODB, weblinkID int, basketID int) (*OtxWeblinkWeblinkBasket, error)
OtxWeblinkWeblinkBasketByWeblinkIDBasketID retrieves a row from 'public.otx_weblink_weblink_baskets' as a OtxWeblinkWeblinkBasket.
Generated from index 'otx_weblink_weblink_baskets_weblink_id_e752d85f_uniq'.
func OtxWeblinkWeblinkBasketsByBasketID ¶
func OtxWeblinkWeblinkBasketsByBasketID(db XODB, basketID int) ([]*OtxWeblinkWeblinkBasket, error)
OtxWeblinkWeblinkBasketsByBasketID retrieves a row from 'public.otx_weblink_weblink_baskets' as a OtxWeblinkWeblinkBasket.
Generated from index 'otx_weblink_weblink_baskets_afdeaea9'.
func OtxWeblinkWeblinkBasketsByWeblinkID ¶
func OtxWeblinkWeblinkBasketsByWeblinkID(db XODB, weblinkID int) ([]*OtxWeblinkWeblinkBasket, error)
OtxWeblinkWeblinkBasketsByWeblinkID retrieves a row from 'public.otx_weblink_weblink_baskets' as a OtxWeblinkWeblinkBasket.
Generated from index 'otx_weblink_weblink_baskets_ea7aa2ec'.
func (*OtxWeblinkWeblinkBasket) Delete ¶
func (owwb *OtxWeblinkWeblinkBasket) Delete(db XODB) error
Delete deletes the OtxWeblinkWeblinkBasket from the database.
func (*OtxWeblinkWeblinkBasket) Deleted ¶
func (owwb *OtxWeblinkWeblinkBasket) Deleted() bool
Deleted provides information if the OtxWeblinkWeblinkBasket has been deleted from the database.
func (*OtxWeblinkWeblinkBasket) Exists ¶
func (owwb *OtxWeblinkWeblinkBasket) Exists() bool
Exists determines if the OtxWeblinkWeblinkBasket exists in the database.
func (*OtxWeblinkWeblinkBasket) HitBasket ¶
func (owwb *OtxWeblinkWeblinkBasket) HitBasket(db XODB) (*HitBasket, error)
HitBasket returns the HitBasket associated with the OtxWeblinkWeblinkBasket's BasketID (basket_id).
Generated from foreign key 'otx_weblink_weblink_baskets_basket_id_fdeaf8ef_fk_hit_basket_id'.
func (*OtxWeblinkWeblinkBasket) Insert ¶
func (owwb *OtxWeblinkWeblinkBasket) Insert(db XODB) error
Insert inserts the OtxWeblinkWeblinkBasket to the database.
func (*OtxWeblinkWeblinkBasket) OtxWeblinkWeblink ¶
func (owwb *OtxWeblinkWeblinkBasket) OtxWeblinkWeblink(db XODB) (*OtxWeblinkWeblink, error)
OtxWeblinkWeblink returns the OtxWeblinkWeblink associated with the OtxWeblinkWeblinkBasket's WeblinkID (weblink_id).
Generated from foreign key 'otx_weblink_webli_weblink_id_27a62a91_fk_otx_weblink_weblink_id'.
func (*OtxWeblinkWeblinkBasket) Save ¶
func (owwb *OtxWeblinkWeblinkBasket) Save(db XODB) error
Save saves the OtxWeblinkWeblinkBasket to the database.
func (*OtxWeblinkWeblinkBasket) Update ¶
func (owwb *OtxWeblinkWeblinkBasket) Update(db XODB) error
Update updates the OtxWeblinkWeblinkBasket in the database.
func (*OtxWeblinkWeblinkBasket) Upsert ¶
func (owwb *OtxWeblinkWeblinkBasket) Upsert(db XODB) error
Upsert performs an upsert for OtxWeblinkWeblinkBasket.
NOTE: PostgreSQL 9.5+ only
type OtxXMLXmlpattern ¶
type OtxXMLXmlpattern struct { ID int `json:"id"` // id Name string `json:"name"` // name XpathTitle string `json:"xpath_title"` // xpath_title XpathAuthor string `json:"xpath_author"` // xpath_author XpathLocations string `json:"xpath_locations"` // xpath_locations XpathContent string `json:"xpath_content"` // xpath_content XpathTopic string `json:"xpath_topic"` // xpath_topic XpathOccurrence string `json:"xpath_occurrence"` // xpath_occurrence XpathContentHeader string `json:"xpath_content_header"` // xpath_content_header XpathLocationLocalid string `json:"xpath_location_localid"` // xpath_location_localid // contains filtered or unexported fields }
OtxXMLXmlpattern represents a row from 'public.otx_xml_xmlpattern'.
func OtxXMLXmlpatternByID ¶
func OtxXMLXmlpatternByID(db XODB, id int) (*OtxXMLXmlpattern, error)
OtxXMLXmlpatternByID retrieves a row from 'public.otx_xml_xmlpattern' as a OtxXMLXmlpattern.
Generated from index 'otx_xml_xmlpattern_pkey'.
func OtxXMLXmlpatternByName ¶
func OtxXMLXmlpatternByName(db XODB, name string) (*OtxXMLXmlpattern, error)
OtxXMLXmlpatternByName retrieves a row from 'public.otx_xml_xmlpattern' as a OtxXMLXmlpattern.
Generated from index 'otx_xml_xmlpattern_name_key'.
func OtxXMLXmlpatternsByName ¶
func OtxXMLXmlpatternsByName(db XODB, name string) ([]*OtxXMLXmlpattern, error)
OtxXMLXmlpatternsByName retrieves a row from 'public.otx_xml_xmlpattern' as a OtxXMLXmlpattern.
Generated from index 'otx_xml_xmlpattern_name_4a38d220_like'.
func (*OtxXMLXmlpattern) Delete ¶
func (oxx *OtxXMLXmlpattern) Delete(db XODB) error
Delete deletes the OtxXMLXmlpattern from the database.
func (*OtxXMLXmlpattern) Deleted ¶
func (oxx *OtxXMLXmlpattern) Deleted() bool
Deleted provides information if the OtxXMLXmlpattern has been deleted from the database.
func (*OtxXMLXmlpattern) Exists ¶
func (oxx *OtxXMLXmlpattern) Exists() bool
Exists determines if the OtxXMLXmlpattern exists in the database.
func (*OtxXMLXmlpattern) Insert ¶
func (oxx *OtxXMLXmlpattern) Insert(db XODB) error
Insert inserts the OtxXMLXmlpattern to the database.
func (*OtxXMLXmlpattern) Save ¶
func (oxx *OtxXMLXmlpattern) Save(db XODB) error
Save saves the OtxXMLXmlpattern to the database.
func (*OtxXMLXmlpattern) Update ¶
func (oxx *OtxXMLXmlpattern) Update(db XODB) error
Update updates the OtxXMLXmlpattern in the database.
func (*OtxXMLXmlpattern) Upsert ¶
func (oxx *OtxXMLXmlpattern) Upsert(db XODB) error
Upsert performs an upsert for OtxXMLXmlpattern.
NOTE: PostgreSQL 9.5+ only
type Page ¶
type Page struct { ID int // id Title string // title Authors string // authors Publisher string // publisher Isbn string // isbn PageLocalid string // page_localid PageSequence int // page_sequence PageText string // page_text }
Page represents a row from '[custom page]'.
type RelatedTopicNamesForTopicWithNumberOfOccurrences ¶
type RelatedTopicNamesForTopicWithNumberOfOccurrences struct { ID int // id DisplayName string // display_name NumberOfOccurrences int64 // number_of_occurrences }
RelatedTopicNamesForTopicWithNumberOfOccurrences represents a row from '[custom related_topic_names_for_topic_with_number_of_occurrences]'.
func RelatedTopicNamesForTopicWithNumberOfOccurrencesByTopic_id_1Topic_id_2Topic_id_3Topic_id_4 ¶
func RelatedTopicNamesForTopicWithNumberOfOccurrencesByTopic_id_1Topic_id_2Topic_id_3Topic_id_4(db XODB, topic_id_1 int, topic_id_2 int, topic_id_3 int, topic_id_4 int) ([]*RelatedTopicNamesForTopicWithNumberOfOccurrences, error)
RelatedTopicNamesForTopicWithNumberOfOccurrencesByTopic_id_1Topic_id_2Topic_id_3Topic_id_4 runs a custom query, returning results as RelatedTopicNamesForTopicWithNumberOfOccurrences.
type RelationRelatedbasket ¶
type RelationRelatedbasket struct { ID int `json:"id"` // id DestinationID int `json:"destination_id"` // destination_id RelationtypeID int `json:"relationtype_id"` // relationtype_id SourceID int `json:"source_id"` // source_id Forbidden bool `json:"forbidden"` // forbidden // contains filtered or unexported fields }
RelationRelatedbasket represents a row from 'public.relation_relatedbasket'.
func RelationRelatedbasketByID ¶
func RelationRelatedbasketByID(db XODB, id int) (*RelationRelatedbasket, error)
RelationRelatedbasketByID retrieves a row from 'public.relation_relatedbasket' as a RelationRelatedbasket.
Generated from index 'relation_relatedbasket_pkey'.
func RelationRelatedbasketByRelationtypeIDSourceIDDestinationID ¶
func RelationRelatedbasketByRelationtypeIDSourceIDDestinationID(db XODB, relationtypeID int, sourceID int, destinationID int) (*RelationRelatedbasket, error)
RelationRelatedbasketByRelationtypeIDSourceIDDestinationID retrieves a row from 'public.relation_relatedbasket' as a RelationRelatedbasket.
Generated from index 'relation_relatedbasket_relationtype_id_76099753_uniq'.
func RelationRelatedbasketsByDestinationID ¶
func RelationRelatedbasketsByDestinationID(db XODB, destinationID int) ([]*RelationRelatedbasket, error)
RelationRelatedbasketsByDestinationID retrieves a row from 'public.relation_relatedbasket' as a RelationRelatedbasket.
Generated from index 'relation_relatedbasket_279358a3'.
func RelationRelatedbasketsByRelationtypeID ¶
func RelationRelatedbasketsByRelationtypeID(db XODB, relationtypeID int) ([]*RelationRelatedbasket, error)
RelationRelatedbasketsByRelationtypeID retrieves a row from 'public.relation_relatedbasket' as a RelationRelatedbasket.
Generated from index 'relation_relatedbasket_b763becd'.
func RelationRelatedbasketsBySourceID ¶
func RelationRelatedbasketsBySourceID(db XODB, sourceID int) ([]*RelationRelatedbasket, error)
RelationRelatedbasketsBySourceID retrieves a row from 'public.relation_relatedbasket' as a RelationRelatedbasket.
Generated from index 'relation_relatedbasket_0afd9202'.
func (*RelationRelatedbasket) Delete ¶
func (rr *RelationRelatedbasket) Delete(db XODB) error
Delete deletes the RelationRelatedbasket from the database.
func (*RelationRelatedbasket) Deleted ¶
func (rr *RelationRelatedbasket) Deleted() bool
Deleted provides information if the RelationRelatedbasket has been deleted from the database.
func (*RelationRelatedbasket) Exists ¶
func (rr *RelationRelatedbasket) Exists() bool
Exists determines if the RelationRelatedbasket exists in the database.
func (*RelationRelatedbasket) HitBasketByDestinationID ¶
func (rr *RelationRelatedbasket) HitBasketByDestinationID(db XODB) (*HitBasket, error)
HitBasketByDestinationID returns the HitBasket associated with the RelationRelatedbasket's DestinationID (destination_id).
Generated from foreign key 'relation_relatedbasket_destination_id_2dc776e7_fk_hit_basket_id'.
func (*RelationRelatedbasket) HitBasketBySourceID ¶
func (rr *RelationRelatedbasket) HitBasketBySourceID(db XODB) (*HitBasket, error)
HitBasketBySourceID returns the HitBasket associated with the RelationRelatedbasket's SourceID (source_id).
Generated from foreign key 'relation_relatedbasket_source_id_9ca07dca_fk_hit_basket_id'.
func (*RelationRelatedbasket) Insert ¶
func (rr *RelationRelatedbasket) Insert(db XODB) error
Insert inserts the RelationRelatedbasket to the database.
func (*RelationRelatedbasket) RelationRelationtype ¶
func (rr *RelationRelatedbasket) RelationRelationtype(db XODB) (*RelationRelationtype, error)
RelationRelationtype returns the RelationRelationtype associated with the RelationRelatedbasket's RelationtypeID (relationtype_id).
Generated from foreign key 'relation_r_relationtype_id_a85493e4_fk_relation_relationtype_id'.
func (*RelationRelatedbasket) Save ¶
func (rr *RelationRelatedbasket) Save(db XODB) error
Save saves the RelationRelatedbasket to the database.
func (*RelationRelatedbasket) Update ¶
func (rr *RelationRelatedbasket) Update(db XODB) error
Update updates the RelationRelatedbasket in the database.
func (*RelationRelatedbasket) Upsert ¶
func (rr *RelationRelatedbasket) Upsert(db XODB) error
Upsert performs an upsert for RelationRelatedbasket.
NOTE: PostgreSQL 9.5+ only
type RelationRelatedhit ¶
type RelationRelatedhit struct { ID int `json:"id"` // id DestinationID int `json:"destination_id"` // destination_id RelationtypeID int `json:"relationtype_id"` // relationtype_id SourceID int `json:"source_id"` // source_id Forbidden bool `json:"forbidden"` // forbidden // contains filtered or unexported fields }
RelationRelatedhit represents a row from 'public.relation_relatedhit'.
func RelationRelatedhitByID ¶
func RelationRelatedhitByID(db XODB, id int) (*RelationRelatedhit, error)
RelationRelatedhitByID retrieves a row from 'public.relation_relatedhit' as a RelationRelatedhit.
Generated from index 'relation_relatedhit_pkey'.
func RelationRelatedhitByRelationtypeIDSourceIDDestinationID ¶
func RelationRelatedhitByRelationtypeIDSourceIDDestinationID(db XODB, relationtypeID int, sourceID int, destinationID int) (*RelationRelatedhit, error)
RelationRelatedhitByRelationtypeIDSourceIDDestinationID retrieves a row from 'public.relation_relatedhit' as a RelationRelatedhit.
Generated from index 'relation_relatedhit_relationtype_id_9d64c518_uniq'.
func RelationRelatedhitsByDestinationID ¶
func RelationRelatedhitsByDestinationID(db XODB, destinationID int) ([]*RelationRelatedhit, error)
RelationRelatedhitsByDestinationID retrieves a row from 'public.relation_relatedhit' as a RelationRelatedhit.
Generated from index 'relation_relatedhit_279358a3'.
func RelationRelatedhitsByRelationtypeID ¶
func RelationRelatedhitsByRelationtypeID(db XODB, relationtypeID int) ([]*RelationRelatedhit, error)
RelationRelatedhitsByRelationtypeID retrieves a row from 'public.relation_relatedhit' as a RelationRelatedhit.
Generated from index 'relation_relatedhit_b763becd'.
func RelationRelatedhitsBySourceID ¶
func RelationRelatedhitsBySourceID(db XODB, sourceID int) ([]*RelationRelatedhit, error)
RelationRelatedhitsBySourceID retrieves a row from 'public.relation_relatedhit' as a RelationRelatedhit.
Generated from index 'relation_relatedhit_0afd9202'.
func (*RelationRelatedhit) Delete ¶
func (rr *RelationRelatedhit) Delete(db XODB) error
Delete deletes the RelationRelatedhit from the database.
func (*RelationRelatedhit) Deleted ¶
func (rr *RelationRelatedhit) Deleted() bool
Deleted provides information if the RelationRelatedhit has been deleted from the database.
func (*RelationRelatedhit) Exists ¶
func (rr *RelationRelatedhit) Exists() bool
Exists determines if the RelationRelatedhit exists in the database.
func (*RelationRelatedhit) HitHitByDestinationID ¶
func (rr *RelationRelatedhit) HitHitByDestinationID(db XODB) (*HitHit, error)
HitHitByDestinationID returns the HitHit associated with the RelationRelatedhit's DestinationID (destination_id).
Generated from foreign key 'relation_relatedhit_destination_id_02e49528_fk_hit_hit_id'.
func (*RelationRelatedhit) HitHitBySourceID ¶
func (rr *RelationRelatedhit) HitHitBySourceID(db XODB) (*HitHit, error)
HitHitBySourceID returns the HitHit associated with the RelationRelatedhit's SourceID (source_id).
Generated from foreign key 'relation_relatedhit_source_id_34d05a49_fk_hit_hit_id'.
func (*RelationRelatedhit) Insert ¶
func (rr *RelationRelatedhit) Insert(db XODB) error
Insert inserts the RelationRelatedhit to the database.
func (*RelationRelatedhit) RelationRelationtype ¶
func (rr *RelationRelatedhit) RelationRelationtype(db XODB) (*RelationRelationtype, error)
RelationRelationtype returns the RelationRelationtype associated with the RelationRelatedhit's RelationtypeID (relationtype_id).
Generated from foreign key 'relation_r_relationtype_id_956b26fe_fk_relation_relationtype_id'.
func (*RelationRelatedhit) Save ¶
func (rr *RelationRelatedhit) Save(db XODB) error
Save saves the RelationRelatedhit to the database.
func (*RelationRelatedhit) Update ¶
func (rr *RelationRelatedhit) Update(db XODB) error
Update updates the RelationRelatedhit in the database.
func (*RelationRelatedhit) Upsert ¶
func (rr *RelationRelatedhit) Upsert(db XODB) error
Upsert performs an upsert for RelationRelatedhit.
NOTE: PostgreSQL 9.5+ only
type RelationRelationtype ¶
type RelationRelationtype struct { ID int `json:"id"` // id Rtype string `json:"rtype"` // rtype Description sql.NullString `json:"description"` // description RoleFrom string `json:"role_from"` // role_from RoleTo string `json:"role_to"` // role_to Symmetrical bool `json:"symmetrical"` // symmetrical // contains filtered or unexported fields }
RelationRelationtype represents a row from 'public.relation_relationtype'.
func RelationRelationtypeByID ¶
func RelationRelationtypeByID(db XODB, id int) (*RelationRelationtype, error)
RelationRelationtypeByID retrieves a row from 'public.relation_relationtype' as a RelationRelationtype.
Generated from index 'relation_relationtype_pkey'.
func RelationRelationtypeByRtype ¶
func RelationRelationtypeByRtype(db XODB, rtype string) (*RelationRelationtype, error)
RelationRelationtypeByRtype retrieves a row from 'public.relation_relationtype' as a RelationRelationtype.
Generated from index 'relation_relationtype_rtype_key'.
func RelationRelationtypeByRtypeRoleFromRoleTo ¶
func RelationRelationtypeByRtypeRoleFromRoleTo(db XODB, rtype string, roleFrom string, roleTo string) (*RelationRelationtype, error)
RelationRelationtypeByRtypeRoleFromRoleTo retrieves a row from 'public.relation_relationtype' as a RelationRelationtype.
Generated from index 'relation_relationtype_rtype_65db05ac_uniq'.
func RelationRelationtypesByRtype ¶
func RelationRelationtypesByRtype(db XODB, rtype string) ([]*RelationRelationtype, error)
RelationRelationtypesByRtype retrieves a row from 'public.relation_relationtype' as a RelationRelationtype.
Generated from index 'relation_relationtype_rtype_4542a47f_like'.
func (*RelationRelationtype) Delete ¶
func (rr *RelationRelationtype) Delete(db XODB) error
Delete deletes the RelationRelationtype from the database.
func (*RelationRelationtype) Deleted ¶
func (rr *RelationRelationtype) Deleted() bool
Deleted provides information if the RelationRelationtype has been deleted from the database.
func (*RelationRelationtype) Exists ¶
func (rr *RelationRelationtype) Exists() bool
Exists determines if the RelationRelationtype exists in the database.
func (*RelationRelationtype) Insert ¶
func (rr *RelationRelationtype) Insert(db XODB) error
Insert inserts the RelationRelationtype to the database.
func (*RelationRelationtype) Save ¶
func (rr *RelationRelationtype) Save(db XODB) error
Save saves the RelationRelationtype to the database.
func (*RelationRelationtype) Update ¶
func (rr *RelationRelationtype) Update(db XODB) error
Update updates the RelationRelationtype in the database.
func (*RelationRelationtype) Upsert ¶
func (rr *RelationRelationtype) Upsert(db XODB) error
Upsert performs an upsert for RelationRelationtype.
NOTE: PostgreSQL 9.5+ only
type ScannerValuer ¶
ScannerValuer is the common interface for types that implement both the database/sql.Scanner and sql/driver.Valuer interfaces.
type StringSlice ¶
type StringSlice []string
StringSlice is a slice of strings.
func (*StringSlice) Scan ¶
func (ss *StringSlice) Scan(src interface{}) error
Scan satisfies the sql.Scanner interface for StringSlice.
type TopicAlternateName ¶
type TopicAlternateName struct { TctID int // tct_id DisplayName string // display_name Name string // name }
TopicAlternateName represents a row from '[custom topic_alternate_name]'.
func GetTopicAlternateNames ¶
func GetTopicAlternateNames(db XODB) ([]*TopicAlternateName, error)
GetTopicAlternateNames runs a custom query, returning results as TopicAlternateName.
type TopicNamesForPage ¶
type TopicNamesForPage struct { PageID int // page_id TopicID int // topic_id TopicDisplayName string // topic_display_name TopicName string // topic_name TopicDisplayNameSortKey string // topic_display_name_sort_key TopicNameSortKey string // topic_name_sort_key }
TopicNamesForPage represents a row from '[custom topic_names_for_page]'.
func TopicNamesForPagesByPage_id ¶
func TopicNamesForPagesByPage_id(db XODB, page_id int) ([]*TopicNamesForPage, error)
TopicNamesForPagesByPage_id runs a custom query, returning results as TopicNamesForPage.
type TopicNumberOfOccurrences ¶
type TopicNumberOfOccurrences struct { BasketID int // basket_id NumberOfOccurrences int64 // number_of_occurrences }
TopicNumberOfOccurrences represents a row from '[custom topic_number_of_occurrences]'.
func TopicNumberOfOccurrencesByTopic_id ¶
func TopicNumberOfOccurrencesByTopic_id(db XODB, topic_id int) ([]*TopicNumberOfOccurrences, error)
TopicNumberOfOccurrencesByTopic_id runs a custom query, returning results as TopicNumberOfOccurrences.
type TopicTtype ¶
type TopicTtype struct { ID int `json:"id"` // id Ttype string `json:"ttype"` // ttype // contains filtered or unexported fields }
TopicTtype represents a row from 'public.topic_ttype'.
func TopicTtypeByID ¶
func TopicTtypeByID(db XODB, id int) (*TopicTtype, error)
TopicTtypeByID retrieves a row from 'public.topic_ttype' as a TopicTtype.
Generated from index 'topic_ttype_pkey'.
func TopicTtypeByTtype ¶
func TopicTtypeByTtype(db XODB, ttype string) (*TopicTtype, error)
TopicTtypeByTtype retrieves a row from 'public.topic_ttype' as a TopicTtype.
Generated from index 'topic_ttype_ttype_key'.
func TopicTtypesByTtype ¶
func TopicTtypesByTtype(db XODB, ttype string) ([]*TopicTtype, error)
TopicTtypesByTtype retrieves a row from 'public.topic_ttype' as a TopicTtype.
Generated from index 'topic_ttype_ttype_b18271cf_like'.
func (*TopicTtype) Delete ¶
func (tt *TopicTtype) Delete(db XODB) error
Delete deletes the TopicTtype from the database.
func (*TopicTtype) Deleted ¶
func (tt *TopicTtype) Deleted() bool
Deleted provides information if the TopicTtype has been deleted from the database.
func (*TopicTtype) Exists ¶
func (tt *TopicTtype) Exists() bool
Exists determines if the TopicTtype exists in the database.
func (*TopicTtype) Insert ¶
func (tt *TopicTtype) Insert(db XODB) error
Insert inserts the TopicTtype to the database.
func (*TopicTtype) Save ¶
func (tt *TopicTtype) Save(db XODB) error
Save saves the TopicTtype to the database.
func (*TopicTtype) Update ¶
func (tt *TopicTtype) Update(db XODB) error
Update updates the TopicTtype in the database.
func (*TopicTtype) Upsert ¶
func (tt *TopicTtype) Upsert(db XODB) error
Upsert performs an upsert for TopicTtype.
NOTE: PostgreSQL 9.5+ only
type XODB ¶
type XODB interface { Exec(string, ...interface{}) (sql.Result, error) Query(string, ...interface{}) (*sql.Rows, error) QueryRow(string, ...interface{}) *sql.Row }
XODB is the common interface for database operations that can be used with types from schema 'public'.
This should work with database/sql.DB and database/sql.Tx.
Source Files ¶
- authgroup.xo.go
- authgrouppermission.xo.go
- authpermission.xo.go
- authtokentoken.xo.go
- authuser.xo.go
- authusergroup.xo.go
- authuseruserpermission.xo.go
- djangoadminlog.xo.go
- djangocontenttype.xo.go
- djangomigration.xo.go
- djangosession.xo.go
- epubsfortopicwithnumberofmatchedpages.xo.go
- epubsnumberofpages.xo.go
- externalrelationsfortopic.xo.go
- hitbasket.xo.go
- hitbaskettype.xo.go
- hithit.xo.go
- hitscope.xo.go
- lexrecognizer.xo.go
- lexstopword.xo.go
- manuscriptsindex.xo.go
- manuscriptsindexpattern.xo.go
- occurrencecontent.xo.go
- occurrencedocument.xo.go
- occurrencelocation.xo.go
- occurrenceoccurrence.xo.go
- otxepubepub.xo.go
- otxreviewreport.xo.go
- otxreviewreview.xo.go
- otxweblinkweblink.xo.go
- otxweblinkweblinkbasket.xo.go
- otxxmlxmlpattern.xo.go
- page.xo.go
- relatedtopicnamesfortopicwithnumberofoccurrences.xo.go
- relationrelatedbasket.xo.go
- relationrelatedhit.xo.go
- relationrelationtype.xo.go
- topicalternatename.xo.go
- topicnamesforpage.xo.go
- topicnumberofoccurrences.xo.go
- topicttype.xo.go
- xo_db.xo.go