DbRelationship

Attribute for relationships.

Constructors

this
this()

Disables the default ctor for the struct.

this
this(string sql)

Creates a db relationship with a custom sql query.

this
this(string[string] members)

Creates a db relationship with an array of members to use for the query generation.

Members

Variables

members
string[string] members;

An associative array of members to match when generating the sql to retrieve the relationship data.

sql
string sql;

A custom sql to retrieve the relationship data.

Meta