Documentation ¶
Index ¶
- type AddressNode
- func (n *AddressNode) City() *query.ColumnNode
- func (n *AddressNode) Copy_() query.NodeI
- func (n *AddressNode) EmbeddedNode_() query.NodeI
- func (n *AddressNode) GobDecode(data []byte) (err error)
- func (n *AddressNode) GobEncode() (data []byte, err error)
- func (n *AddressNode) ID() *query.ColumnNode
- func (n *AddressNode) Person() *PersonNode
- func (n *AddressNode) PersonID() *query.ColumnNode
- func (n *AddressNode) PrimaryKeyNode() *query.ColumnNode
- func (n *AddressNode) SelectNodes_() (nodes []*query.ColumnNode)
- func (n *AddressNode) Street() *query.ColumnNode
- type EmployeeInfoNode
- func (n *EmployeeInfoNode) Copy_() query.NodeI
- func (n *EmployeeInfoNode) EmbeddedNode_() query.NodeI
- func (n *EmployeeInfoNode) EmployeeNumber() *query.ColumnNode
- func (n *EmployeeInfoNode) GobDecode(data []byte) (err error)
- func (n *EmployeeInfoNode) GobEncode() (data []byte, err error)
- func (n *EmployeeInfoNode) ID() *query.ColumnNode
- func (n *EmployeeInfoNode) Person() *PersonNode
- func (n *EmployeeInfoNode) PersonID() *query.ColumnNode
- func (n *EmployeeInfoNode) PrimaryKeyNode() *query.ColumnNode
- func (n *EmployeeInfoNode) SelectNodes_() (nodes []*query.ColumnNode)
- type GiftNode
- func (n *GiftNode) Copy_() query.NodeI
- func (n *GiftNode) EmbeddedNode_() query.NodeI
- func (n *GiftNode) GobDecode(data []byte) (err error)
- func (n *GiftNode) GobEncode() (data []byte, err error)
- func (n *GiftNode) Name() *query.ColumnNode
- func (n *GiftNode) Number() *query.ColumnNode
- func (n *GiftNode) PrimaryKeyNode() *query.ColumnNode
- func (n *GiftNode) SelectNodes_() (nodes []*query.ColumnNode)
- type LoginNode
- func (n *LoginNode) Copy_() query.NodeI
- func (n *LoginNode) EmbeddedNode_() query.NodeI
- func (n *LoginNode) GobDecode(data []byte) (err error)
- func (n *LoginNode) GobEncode() (data []byte, err error)
- func (n *LoginNode) ID() *query.ColumnNode
- func (n *LoginNode) IsEnabled() *query.ColumnNode
- func (n *LoginNode) Password() *query.ColumnNode
- func (n *LoginNode) Person() *PersonNode
- func (n *LoginNode) PersonID() *query.ColumnNode
- func (n *LoginNode) PrimaryKeyNode() *query.ColumnNode
- func (n *LoginNode) SelectNodes_() (nodes []*query.ColumnNode)
- func (n *LoginNode) Username() *query.ColumnNode
- type MilestoneNode
- func (n *MilestoneNode) Copy_() query.NodeI
- func (n *MilestoneNode) EmbeddedNode_() query.NodeI
- func (n *MilestoneNode) GobDecode(data []byte) (err error)
- func (n *MilestoneNode) GobEncode() (data []byte, err error)
- func (n *MilestoneNode) ID() *query.ColumnNode
- func (n *MilestoneNode) Name() *query.ColumnNode
- func (n *MilestoneNode) PrimaryKeyNode() *query.ColumnNode
- func (n *MilestoneNode) Project() *ProjectNode
- func (n *MilestoneNode) ProjectID() *query.ColumnNode
- func (n *MilestoneNode) SelectNodes_() (nodes []*query.ColumnNode)
- type PersonNode
- func (n *PersonNode) Addresses() *AddressNode
- func (n *PersonNode) Copy_() query.NodeI
- func (n *PersonNode) EmbeddedNode_() query.NodeI
- func (n *PersonNode) EmployeeInfo() *EmployeeInfoNode
- func (n *PersonNode) FirstName() *query.ColumnNode
- func (n *PersonNode) GobDecode(data []byte) (err error)
- func (n *PersonNode) GobEncode() (data []byte, err error)
- func (n *PersonNode) ID() *query.ColumnNode
- func (n *PersonNode) LastName() *query.ColumnNode
- func (n *PersonNode) Login() *LoginNode
- func (n *PersonNode) PersonTypes() *PersonTypeNode
- func (n *PersonNode) PrimaryKeyNode() *query.ColumnNode
- func (n *PersonNode) Projects() *ProjectNode
- func (n *PersonNode) ProjectsAsManager() *ProjectNode
- func (n *PersonNode) SelectNodes_() (nodes []*query.ColumnNode)
- type PersonTypeNode
- func (n *PersonTypeNode) Copy_() query.NodeI
- func (n *PersonTypeNode) EmbeddedNode_() query.NodeI
- func (n *PersonTypeNode) ID() *query.ColumnNode
- func (n *PersonTypeNode) Name() *query.ColumnNode
- func (n *PersonTypeNode) PrimaryKeyNode() *query.ColumnNode
- func (n *PersonTypeNode) SelectNodes_() (nodes []*query.ColumnNode)
- type PersonWithLockNode
- func (n *PersonWithLockNode) Copy_() query.NodeI
- func (n *PersonWithLockNode) EmbeddedNode_() query.NodeI
- func (n *PersonWithLockNode) FirstName() *query.ColumnNode
- func (n *PersonWithLockNode) GobDecode(data []byte) (err error)
- func (n *PersonWithLockNode) GobEncode() (data []byte, err error)
- func (n *PersonWithLockNode) ID() *query.ColumnNode
- func (n *PersonWithLockNode) LastName() *query.ColumnNode
- func (n *PersonWithLockNode) PrimaryKeyNode() *query.ColumnNode
- func (n *PersonWithLockNode) SelectNodes_() (nodes []*query.ColumnNode)
- func (n *PersonWithLockNode) SysTimestamp() *query.ColumnNode
- type ProjectNode
- func (n *ProjectNode) Budget() *query.ColumnNode
- func (n *ProjectNode) Children() *ProjectNode
- func (n *ProjectNode) Copy_() query.NodeI
- func (n *ProjectNode) Description() *query.ColumnNode
- func (n *ProjectNode) EmbeddedNode_() query.NodeI
- func (n *ProjectNode) EndDate() *query.ColumnNode
- func (n *ProjectNode) GobDecode(data []byte) (err error)
- func (n *ProjectNode) GobEncode() (data []byte, err error)
- func (n *ProjectNode) ID() *query.ColumnNode
- func (n *ProjectNode) Manager() *PersonNode
- func (n *ProjectNode) ManagerID() *query.ColumnNode
- func (n *ProjectNode) Milestones() *MilestoneNode
- func (n *ProjectNode) Name() *query.ColumnNode
- func (n *ProjectNode) Num() *query.ColumnNode
- func (n *ProjectNode) Parents() *ProjectNode
- func (n *ProjectNode) PrimaryKeyNode() *query.ColumnNode
- func (n *ProjectNode) SelectNodes_() (nodes []*query.ColumnNode)
- func (n *ProjectNode) Spent() *query.ColumnNode
- func (n *ProjectNode) StartDate() *query.ColumnNode
- func (n *ProjectNode) Status() *ProjectStatusNode
- func (n *ProjectNode) StatusID() *query.ColumnNode
- func (n *ProjectNode) TeamMembers() *PersonNode
- type ProjectStatusNode
- func (n *ProjectStatusNode) Copy_() query.NodeI
- func (n *ProjectStatusNode) Description() *query.ColumnNode
- func (n *ProjectStatusNode) EmbeddedNode_() query.NodeI
- func (n *ProjectStatusNode) Guidelines() *query.ColumnNode
- func (n *ProjectStatusNode) ID() *query.ColumnNode
- func (n *ProjectStatusNode) IsActive() *query.ColumnNode
- func (n *ProjectStatusNode) Name() *query.ColumnNode
- func (n *ProjectStatusNode) PrimaryKeyNode() *query.ColumnNode
- func (n *ProjectStatusNode) SelectNodes_() (nodes []*query.ColumnNode)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressNode ¶ added in v0.31.0
type AddressNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the addressNode functions here. query.ReferenceNodeI }
AddressNode represents the address table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the AddressNode, call Address to start a reference chain when querying the address table.
func Address ¶
func Address() *AddressNode
Address returns a table node that starts a node chain that begins with the address table.
func (*AddressNode) City ¶ added in v0.31.0
func (n *AddressNode) City() *query.ColumnNode
City represents the city column in the database.
func (*AddressNode) Copy_ ¶ added in v0.31.0
func (n *AddressNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*AddressNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *AddressNode) EmbeddedNode_() query.NodeI
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*AddressNode) GobDecode ¶ added in v0.31.0
func (n *AddressNode) GobDecode(data []byte) (err error)
GobDecode makes the node deserializable. doc: hide
func (*AddressNode) GobEncode ¶ added in v0.31.0
func (n *AddressNode) GobEncode() (data []byte, err error)
GobEncode makes the node serializable. doc:hide
func (*AddressNode) ID ¶ added in v0.31.0
func (n *AddressNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*AddressNode) Person ¶ added in v0.31.0
func (n *AddressNode) Person() *PersonNode
Person represents the link to the Person object.
func (*AddressNode) PersonID ¶ added in v0.31.0
func (n *AddressNode) PersonID() *query.ColumnNode
PersonID represents the person_id column in the database.
func (*AddressNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *AddressNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*AddressNode) SelectNodes_ ¶ added in v0.31.0
func (n *AddressNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
func (*AddressNode) Street ¶ added in v0.31.0
func (n *AddressNode) Street() *query.ColumnNode
Street represents the street column in the database.
type EmployeeInfoNode ¶ added in v0.31.0
type EmployeeInfoNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the employeeInfoNode functions here. query.ReferenceNodeI }
EmployeeInfoNode represents the employee_info table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the EmployeeInfoNode, call EmployeeInfo to start a reference chain when querying the employee_info table.
func EmployeeInfo ¶ added in v0.7.0
func EmployeeInfo() *EmployeeInfoNode
EmployeeInfo returns a table node that starts a node chain that begins with the employee_info table.
func (*EmployeeInfoNode) Copy_ ¶ added in v0.31.0
func (n *EmployeeInfoNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*EmployeeInfoNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *EmployeeInfoNode) EmbeddedNode_() query.NodeI
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*EmployeeInfoNode) EmployeeNumber ¶ added in v0.31.0
func (n *EmployeeInfoNode) EmployeeNumber() *query.ColumnNode
EmployeeNumber represents the employee_number column in the database.
func (*EmployeeInfoNode) GobDecode ¶ added in v0.31.0
func (n *EmployeeInfoNode) GobDecode(data []byte) (err error)
GobDecode makes the node deserializable. doc: hide
func (*EmployeeInfoNode) GobEncode ¶ added in v0.31.0
func (n *EmployeeInfoNode) GobEncode() (data []byte, err error)
GobEncode makes the node serializable. doc:hide
func (*EmployeeInfoNode) ID ¶ added in v0.31.0
func (n *EmployeeInfoNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*EmployeeInfoNode) Person ¶ added in v0.31.0
func (n *EmployeeInfoNode) Person() *PersonNode
Person represents the link to the Person object.
func (*EmployeeInfoNode) PersonID ¶ added in v0.31.0
func (n *EmployeeInfoNode) PersonID() *query.ColumnNode
PersonID represents the person_id column in the database.
func (*EmployeeInfoNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *EmployeeInfoNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*EmployeeInfoNode) SelectNodes_ ¶ added in v0.31.0
func (n *EmployeeInfoNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
type GiftNode ¶ added in v0.31.0
type GiftNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the giftNode functions here. query.ReferenceNodeI }
GiftNode represents the gift table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the GiftNode, call Gift to start a reference chain when querying the gift table.
func Gift ¶ added in v0.13.9
func Gift() *GiftNode
Gift returns a table node that starts a node chain that begins with the gift table.
func (*GiftNode) Copy_ ¶ added in v0.31.0
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*GiftNode) EmbeddedNode_ ¶ added in v0.31.0
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*GiftNode) Name ¶ added in v0.31.0
func (n *GiftNode) Name() *query.ColumnNode
Name represents the name column in the database.
func (*GiftNode) Number ¶ added in v0.31.0
func (n *GiftNode) Number() *query.ColumnNode
Number represents the number column in the database.
func (*GiftNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *GiftNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*GiftNode) SelectNodes_ ¶ added in v0.31.0
func (n *GiftNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
type LoginNode ¶ added in v0.31.0
type LoginNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the loginNode functions here. query.ReferenceNodeI }
LoginNode represents the login table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the LoginNode, call Login to start a reference chain when querying the login table.
func Login ¶
func Login() *LoginNode
Login returns a table node that starts a node chain that begins with the login table.
func (*LoginNode) Copy_ ¶ added in v0.31.0
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*LoginNode) EmbeddedNode_ ¶ added in v0.31.0
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*LoginNode) ID ¶ added in v0.31.0
func (n *LoginNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*LoginNode) IsEnabled ¶ added in v0.31.0
func (n *LoginNode) IsEnabled() *query.ColumnNode
IsEnabled represents the is_enabled column in the database.
func (*LoginNode) Password ¶ added in v0.31.0
func (n *LoginNode) Password() *query.ColumnNode
Password represents the password column in the database.
func (*LoginNode) Person ¶ added in v0.31.0
func (n *LoginNode) Person() *PersonNode
Person represents the link to the Person object.
func (*LoginNode) PersonID ¶ added in v0.31.0
func (n *LoginNode) PersonID() *query.ColumnNode
PersonID represents the person_id column in the database.
func (*LoginNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *LoginNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*LoginNode) SelectNodes_ ¶ added in v0.31.0
func (n *LoginNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
func (*LoginNode) Username ¶ added in v0.31.0
func (n *LoginNode) Username() *query.ColumnNode
Username represents the username column in the database.
type MilestoneNode ¶ added in v0.31.0
type MilestoneNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the milestoneNode functions here. query.ReferenceNodeI }
MilestoneNode represents the milestone table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the MilestoneNode, call Milestone to start a reference chain when querying the milestone table.
func Milestone ¶
func Milestone() *MilestoneNode
Milestone returns a table node that starts a node chain that begins with the milestone table.
func (*MilestoneNode) Copy_ ¶ added in v0.31.0
func (n *MilestoneNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*MilestoneNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *MilestoneNode) EmbeddedNode_() query.NodeI
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*MilestoneNode) GobDecode ¶ added in v0.31.0
func (n *MilestoneNode) GobDecode(data []byte) (err error)
GobDecode makes the node deserializable. doc: hide
func (*MilestoneNode) GobEncode ¶ added in v0.31.0
func (n *MilestoneNode) GobEncode() (data []byte, err error)
GobEncode makes the node serializable. doc:hide
func (*MilestoneNode) ID ¶ added in v0.31.0
func (n *MilestoneNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*MilestoneNode) Name ¶ added in v0.31.0
func (n *MilestoneNode) Name() *query.ColumnNode
Name represents the name column in the database.
func (*MilestoneNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *MilestoneNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*MilestoneNode) Project ¶ added in v0.31.0
func (n *MilestoneNode) Project() *ProjectNode
Project represents the link to the Project object.
func (*MilestoneNode) ProjectID ¶ added in v0.31.0
func (n *MilestoneNode) ProjectID() *query.ColumnNode
ProjectID represents the project_id column in the database.
func (*MilestoneNode) SelectNodes_ ¶ added in v0.31.0
func (n *MilestoneNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
type PersonNode ¶ added in v0.31.0
type PersonNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the personNode functions here. query.ReferenceNodeI }
PersonNode represents the person table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the PersonNode, call Person to start a reference chain when querying the person table.
func Person ¶
func Person() *PersonNode
Person returns a table node that starts a node chain that begins with the person table.
func (*PersonNode) Addresses ¶ added in v0.31.0
func (n *PersonNode) Addresses() *AddressNode
Addresses represents the many-to-one relationship formed by the reverse reference from the addresses column in the person table.
func (*PersonNode) Copy_ ¶ added in v0.31.0
func (n *PersonNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*PersonNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *PersonNode) EmbeddedNode_() query.NodeI
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*PersonNode) EmployeeInfo ¶ added in v0.31.0
func (n *PersonNode) EmployeeInfo() *EmployeeInfoNode
EmployeeInfo represents the one-to-one relationship formed by the reverse reference from the employee_info column in the person table.
func (*PersonNode) FirstName ¶ added in v0.31.0
func (n *PersonNode) FirstName() *query.ColumnNode
FirstName represents the first_name column in the database.
func (*PersonNode) GobDecode ¶ added in v0.31.0
func (n *PersonNode) GobDecode(data []byte) (err error)
GobDecode makes the node deserializable. doc: hide
func (*PersonNode) GobEncode ¶ added in v0.31.0
func (n *PersonNode) GobEncode() (data []byte, err error)
GobEncode makes the node serializable. doc:hide
func (*PersonNode) ID ¶ added in v0.31.0
func (n *PersonNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*PersonNode) LastName ¶ added in v0.31.0
func (n *PersonNode) LastName() *query.ColumnNode
LastName represents the last_name column in the database.
func (*PersonNode) Login ¶ added in v0.31.0
func (n *PersonNode) Login() *LoginNode
Login represents the one-to-one relationship formed by the reverse reference from the login column in the person table.
func (*PersonNode) PersonTypes ¶ added in v0.31.0
func (n *PersonNode) PersonTypes() *PersonTypeNode
PersonTypes represents the many-to-many relationship formed by the person_persontype_assn table.
func (*PersonNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *PersonNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*PersonNode) Projects ¶ added in v0.31.0
func (n *PersonNode) Projects() *ProjectNode
Projects represents the many-to-many relationship formed by the team_member_project_assn table.
func (*PersonNode) ProjectsAsManager ¶ added in v0.31.0
func (n *PersonNode) ProjectsAsManager() *ProjectNode
ProjectsAsManager represents the many-to-one relationship formed by the reverse reference from the projects_as_manager column in the person table.
func (*PersonNode) SelectNodes_ ¶ added in v0.31.0
func (n *PersonNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
type PersonTypeNode ¶ added in v0.31.0
type PersonTypeNode struct {
query.ReferenceNodeI
}
func (*PersonTypeNode) Copy_ ¶ added in v0.31.0
func (n *PersonTypeNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*PersonTypeNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *PersonTypeNode) EmbeddedNode_() query.NodeI
EmbeddedNode_ is used internally by the framework to return the embedded ReferenceNodeI. doc: hide
func (*PersonTypeNode) ID ¶ added in v0.31.0
func (n *PersonTypeNode) ID() *query.ColumnNode
func (*PersonTypeNode) Name ¶ added in v0.31.0
func (n *PersonTypeNode) Name() *query.ColumnNode
func (*PersonTypeNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *PersonTypeNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node representing the primary key column.
func (*PersonTypeNode) SelectNodes_ ¶ added in v0.31.0
func (n *PersonTypeNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of column nodes. doc: hide
type PersonWithLockNode ¶ added in v0.31.0
type PersonWithLockNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the personWithLockNode functions here. query.ReferenceNodeI }
PersonWithLockNode represents the person_with_lock table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the PersonWithLockNode, call PersonWithLock to start a reference chain when querying the person_with_lock table.
func PersonWithLock ¶
func PersonWithLock() *PersonWithLockNode
PersonWithLock returns a table node that starts a node chain that begins with the person_with_lock table.
func (*PersonWithLockNode) Copy_ ¶ added in v0.31.0
func (n *PersonWithLockNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*PersonWithLockNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *PersonWithLockNode) EmbeddedNode_() query.NodeI
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*PersonWithLockNode) FirstName ¶ added in v0.31.0
func (n *PersonWithLockNode) FirstName() *query.ColumnNode
FirstName represents the first_name column in the database.
func (*PersonWithLockNode) GobDecode ¶ added in v0.31.0
func (n *PersonWithLockNode) GobDecode(data []byte) (err error)
GobDecode makes the node deserializable. doc: hide
func (*PersonWithLockNode) GobEncode ¶ added in v0.31.0
func (n *PersonWithLockNode) GobEncode() (data []byte, err error)
GobEncode makes the node serializable. doc:hide
func (*PersonWithLockNode) ID ¶ added in v0.31.0
func (n *PersonWithLockNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*PersonWithLockNode) LastName ¶ added in v0.31.0
func (n *PersonWithLockNode) LastName() *query.ColumnNode
LastName represents the last_name column in the database.
func (*PersonWithLockNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *PersonWithLockNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*PersonWithLockNode) SelectNodes_ ¶ added in v0.31.0
func (n *PersonWithLockNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
func (*PersonWithLockNode) SysTimestamp ¶ added in v0.31.0
func (n *PersonWithLockNode) SysTimestamp() *query.ColumnNode
SysTimestamp represents the sys_timestamp column in the database.
type ProjectNode ¶ added in v0.31.0
type ProjectNode struct { // ReferenceNodeI is an internal object that represents the capabilities of the node. Since it is embedded, all // of its functions are exported and are callable along with the projectNode functions here. query.ReferenceNodeI }
ProjectNode represents the project table in a query. It uses a builder pattern to chain together other tables and columns to form a node in a query.
To use the ProjectNode, call Project to start a reference chain when querying the project table.
func Project ¶
func Project() *ProjectNode
Project returns a table node that starts a node chain that begins with the project table.
func (*ProjectNode) Budget ¶ added in v0.31.0
func (n *ProjectNode) Budget() *query.ColumnNode
Budget represents the budget column in the database.
func (*ProjectNode) Children ¶ added in v0.31.0
func (n *ProjectNode) Children() *ProjectNode
Children represents the many-to-many relationship formed by the related_project_assn table.
func (*ProjectNode) Copy_ ¶ added in v0.31.0
func (n *ProjectNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*ProjectNode) Description ¶ added in v0.31.0
func (n *ProjectNode) Description() *query.ColumnNode
Description represents the description column in the database.
func (*ProjectNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *ProjectNode) EmbeddedNode_() query.NodeI
EmbeddedNode is used internally by the framework to return the embedded Reference node. doc: hide
func (*ProjectNode) EndDate ¶ added in v0.31.0
func (n *ProjectNode) EndDate() *query.ColumnNode
EndDate represents the end_date column in the database.
func (*ProjectNode) GobDecode ¶ added in v0.31.0
func (n *ProjectNode) GobDecode(data []byte) (err error)
GobDecode makes the node deserializable. doc: hide
func (*ProjectNode) GobEncode ¶ added in v0.31.0
func (n *ProjectNode) GobEncode() (data []byte, err error)
GobEncode makes the node serializable. doc:hide
func (*ProjectNode) ID ¶ added in v0.31.0
func (n *ProjectNode) ID() *query.ColumnNode
ID represents the id column in the database.
func (*ProjectNode) Manager ¶ added in v0.31.0
func (n *ProjectNode) Manager() *PersonNode
Manager represents the link to the Manager object.
func (*ProjectNode) ManagerID ¶ added in v0.31.0
func (n *ProjectNode) ManagerID() *query.ColumnNode
ManagerID represents the manager_id column in the database.
func (*ProjectNode) Milestones ¶ added in v0.31.0
func (n *ProjectNode) Milestones() *MilestoneNode
Milestones represents the many-to-one relationship formed by the reverse reference from the milestones column in the project table.
func (*ProjectNode) Name ¶ added in v0.31.0
func (n *ProjectNode) Name() *query.ColumnNode
Name represents the name column in the database.
func (*ProjectNode) Num ¶ added in v0.31.0
func (n *ProjectNode) Num() *query.ColumnNode
Num represents the num column in the database.
func (*ProjectNode) Parents ¶ added in v0.31.0
func (n *ProjectNode) Parents() *ProjectNode
Parents represents the many-to-many relationship formed by the related_project_assn table.
func (*ProjectNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *ProjectNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node that points to the primary key column.
func (*ProjectNode) SelectNodes_ ¶ added in v0.31.0
func (n *ProjectNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of all the column nodes. doc: hide
func (*ProjectNode) Spent ¶ added in v0.31.0
func (n *ProjectNode) Spent() *query.ColumnNode
Spent represents the spent column in the database.
func (*ProjectNode) StartDate ¶ added in v0.31.0
func (n *ProjectNode) StartDate() *query.ColumnNode
StartDate represents the start_date column in the database.
func (*ProjectNode) Status ¶ added in v0.31.0
func (n *ProjectNode) Status() *ProjectStatusNode
Status represents the link to the Status object.
func (*ProjectNode) StatusID ¶ added in v0.31.0
func (n *ProjectNode) StatusID() *query.ColumnNode
StatusID represents the status_id column in the database.
func (*ProjectNode) TeamMembers ¶ added in v0.31.0
func (n *ProjectNode) TeamMembers() *PersonNode
TeamMembers represents the many-to-many relationship formed by the team_member_project_assn table.
type ProjectStatusNode ¶ added in v0.31.0
type ProjectStatusNode struct {
query.ReferenceNodeI
}
func (*ProjectStatusNode) Copy_ ¶ added in v0.31.0
func (n *ProjectStatusNode) Copy_() query.NodeI
Copy_ is used internally by the framework to deep copy the node. doc: hide
func (*ProjectStatusNode) Description ¶ added in v0.31.0
func (n *ProjectStatusNode) Description() *query.ColumnNode
func (*ProjectStatusNode) EmbeddedNode_ ¶ added in v0.31.0
func (n *ProjectStatusNode) EmbeddedNode_() query.NodeI
EmbeddedNode_ is used internally by the framework to return the embedded ReferenceNodeI. doc: hide
func (*ProjectStatusNode) Guidelines ¶ added in v0.31.0
func (n *ProjectStatusNode) Guidelines() *query.ColumnNode
func (*ProjectStatusNode) ID ¶ added in v0.31.0
func (n *ProjectStatusNode) ID() *query.ColumnNode
func (*ProjectStatusNode) IsActive ¶ added in v0.31.0
func (n *ProjectStatusNode) IsActive() *query.ColumnNode
func (*ProjectStatusNode) Name ¶ added in v0.31.0
func (n *ProjectStatusNode) Name() *query.ColumnNode
func (*ProjectStatusNode) PrimaryKeyNode ¶ added in v0.31.0
func (n *ProjectStatusNode) PrimaryKeyNode() *query.ColumnNode
PrimaryKeyNode returns a node representing the primary key column.
func (*ProjectStatusNode) SelectNodes_ ¶ added in v0.31.0
func (n *ProjectStatusNode) SelectNodes_() (nodes []*query.ColumnNode)
SelectNodes_ is used internally by the framework to return the list of column nodes. doc: hide