0

Use QxOrm, is there a way to name the table name?
For example,I have a class named ClassA.
And I want to ClassA is corresponding a table named table_a in the database. How to do?

slava
  • 1,901
  • 6
  • 28
  • 32
behtgod
  • 251
  • 3
  • 15

1 Answers1

0

I find the answer.
in qx::register_class() method, use :
t.setName("table_a");

behtgod
  • 251
  • 3
  • 15