Lightweight 0.20260213.0
Loading...
Searching...
No Matches
LargeDb_ProductTag Struct Reference

ProductTag join table for many-to-many Product<->Tag relationship. Estimated: 6,000 rows × 50B = 300KB. More...

#include <Entities.hpp>

Public Attributes

Light::Field< uint64_t, Light::PrimaryKey::ServerSideAutoIncrement > id
 
Light::BelongsTo< Member(LargeDb_Product::id), Light::SqlRealName { "product_id" }> product {}
 
Light::BelongsTo< Member(LargeDb_Tag::id), Light::SqlRealName { "tag_id" }> tag {}
 

Detailed Description

ProductTag join table for many-to-many Product<->Tag relationship. Estimated: 6,000 rows × 50B = 300KB.

Definition at line 165 of file Entities.hpp.

Member Data Documentation

◆ id

Light::Field<uint64_t, Light::PrimaryKey::ServerSideAutoIncrement> LargeDb_ProductTag::id

Definition at line 167 of file Entities.hpp.

◆ product

Light::BelongsTo<Member(LargeDb_Product::id), Light::SqlRealName { "product_id" }> LargeDb_ProductTag::product {}

Definition at line 169 of file Entities.hpp.

◆ tag

Light::BelongsTo<Member(LargeDb_Tag::id), Light::SqlRealName { "tag_id" }> LargeDb_ProductTag::tag {}

Definition at line 170 of file Entities.hpp.


The documentation for this struct was generated from the following file: