Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Document = newDocumentTable()
View Source
var Node = newNodeTable()
View Source
var Posts = newPostsTable()
View Source
var Users = newUsersTable()
Functions ¶
This section is empty.
Types ¶
type DocumentTable ¶
type DocumentTable struct {
mysql.Table
//Columns
ID mysql.ColumnInteger
Name mysql.ColumnString
Content mysql.ColumnString
Type mysql.ColumnString
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (*DocumentTable) AS ¶
func (a *DocumentTable) AS(alias string) DocumentTable
AS creates new DocumentTable with assigned alias
type NodeTable ¶
type NodeTable struct {
mysql.Table
//Columns
ID mysql.ColumnInteger
DocumentID mysql.ColumnInteger
Name mysql.ColumnString
Children mysql.ColumnBool
ParentID mysql.ColumnInteger
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
type PostsTable ¶
type PostsTable struct {
mysql.Table
//Columns
ID mysql.ColumnInteger
OwnerID mysql.ColumnInteger
Text mysql.ColumnString
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (*PostsTable) AS ¶
func (a *PostsTable) AS(alias string) PostsTable
AS creates new PostsTable with assigned alias
type UsersTable ¶
type UsersTable struct {
mysql.Table
//Columns
ID mysql.ColumnInteger
Name mysql.ColumnString
Username mysql.ColumnString
PasswordHash mysql.ColumnString
AllColumns mysql.ColumnList
MutableColumns mysql.ColumnList
}
func (*UsersTable) AS ¶
func (a *UsersTable) AS(alias string) UsersTable
AS creates new UsersTable with assigned alias
Click to show internal directories.
Click to hide internal directories.