Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table with same struct. #82

Open
soyoo opened this issue Mar 26, 2020 · 1 comment
Open

Table with same struct. #82

soyoo opened this issue Mar 26, 2020 · 1 comment
Assignees

Comments

@soyoo
Copy link
Contributor

soyoo commented Mar 26, 2020

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'.

@HamedMasafi
Copy link
Owner

Wip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants