Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { Id sql.NullInt32 `d3:"pk:auto"` Authors *entity.Collection `d3:"many_to_many:<target_entity:Author,join_on:book_id,reference_on:author_id,join_table:book_author_p>,type:lazy"` Name string }
d3_table:book_p
type SellerCirc ¶
type SellerCirc struct { Id sql.NullInt32 `d3:"pk:auto"` Name string CurrentShop *entity.Cell `d3:"one_to_one:<target_entity:ShopCirc,join_on:shop_id>,type:lazy"` KnownShops *entity.Collection `d3:"many_to_many:<target_entity:ShopCirc,join_on:seller_id,reference_on:shop_id,join_table:known_shop_seller_c>,type:lazy"` }
d3_table:seller_c
func (*SellerCirc) D3Token ¶
func (s *SellerCirc) D3Token() entity.MetaToken
type Shop ¶
type Shop struct { Id sql.NullInt32 `d3:"pk:auto"` Books *entity.Collection `d3:"one_to_many:<target_entity:Book,join_on:shop_id,delete:nullable>,type:lazy"` Profile *entity.Cell `d3:"one_to_one:<target_entity:ShopProfile,join_on:profile_id,delete:cascade>,type:lazy"` Name string }
d3_table:shop_p
type ShopCirc ¶
type ShopCirc struct { Id sql.NullInt32 `d3:"pk:auto"` Name string Profile *entity.Cell `d3:"one_to_one:<target_entity:ShopProfileCirc,join_on:profile_id>,type:lazy"` FriendShop *entity.Cell `d3:"one_to_one:<target_entity:ShopCirc,join_on:friend_id>,type:lazy"` TopSeller *entity.Cell `d3:"one_to_one:<target_entity:SellerCirc,join_on:top_seller_id>,type:lazy"` Sellers *entity.Collection `d3:"one_to_many:<target_entity:SellerCirc,join_on:shop_id>,type:lazy"` KnownSellers *entity.Collection `d3:"many_to_many:<target_entity:SellerCirc,join_on:shop_id,reference_on:seller_id,join_table:known_shop_seller_c>,type:lazy"` }
d3_table:shop_c
type ShopProfile ¶
d3_table:profile_p
func (*ShopProfile) D3Token ¶
func (s *ShopProfile) D3Token() entity.MetaToken
Click to show internal directories.
Click to hide internal directories.