Closed rudolph-miller closed 9 years ago
I assume you wanna generate a defclass form from a table-name string.
If so, just allowing a table name in generate-defclass
would be better.
Actually, no. I wanna generate-defclass
with just symbol before creating class.
Hm, okay. Then the table-name
feature is redundant and it doesn't look any "nicer" at all to me.
Often people want to create class user
with table-name users
, I think.
And, actually I wanna create class advertiser
with advertisers
just using (generate-defclass 'advertiser :table-name "advertisers") without creating class
advertisers` before generating.
(generate-defclass 'user :table-name "users")
.