|
Having trouble with a simple join to a lookup table called "lookup_values" in the db I'm using. In the models/User.cfc, in the config() function I added: In a controller file I place this code to call that and dump the output. I keep getting the error: What am I doing wrong? A bonus question: |
Replies: 1 comment
|
Guess I gave up too soon. Reviewing the docs for associations to multiple tables, I found that when I do it like this in the model file's config(): and in the controller file action: it works. I also found how to join multiple tables there in the docs (doh!), just csv list of association names in that include list value... |
Guess I gave up too soon. Reviewing the docs for associations to multiple tables, I found that when I do it like this in the model file's config():
and in the controller file action:
it works.
I also found how to join multiple tables there in the docs (doh!), just csv list of association names in that include list value...
include="userArea,userRole"