Nut
Nut copied to clipboard
Table with same struct.
class IDatabase : public Nut::Database { Q_OBJECT
NUT_DB_VERSION(1)
NUT_DECLARE_TABLE(Network, a)
NUT_DECLARE_TABLE(Network, b)
NUT_DECLARE_TABLE(Network, c)
NUT_DECLARE_TABLE(Network, d)
};
It seems that if tables have the same table struct, a()、b()、c() will always operate on the table 'a'.
Wip