purpose of having a many-to-many join available.
Is there a way to do this now, and/or can I request this feature :)
Thanks,
- jud
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Tech
;
> [
> users =>
> {
> type => 'many to many',
> map_class=> 'ProjectUserMap ',
> manager_args => { with_map_records => 1 },
> },
> ...
> ]
Thanks. This is perfect.
Best regards,
- jud
---
le. However,
I couldn't find it.
Many thanks,
- jud
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business
data::Column docs, in the
"MAKING METHODS" section under the text
"The default method map is:"
the titles are get_set, get, and get_set. The final get_set should
probably be just "set"
Many thanks,
- jud
-
John-
> John Siracusa wrote:
> A better option is to make your own Metadata subclass and then
override the
> make_column_methods() method and change the auto_method_types() of
all the
> columns before calling through to the base class implementation:
Thanks for the speedy and detailed repl
uot;
> at /usr/lib/perl5/site_perl/5.8.6/Rose/DB/Object.pm line 1464
>
> some other flag needs to be set to inform Rose::DB classes to use
> 'get_product_id' instead of 'product_id' ?
Perhaps you can use the Rose::DB::Object::Helpers method:
init_with_column_value_
John Siracusa wrote:
> How about a delete_now method type for 1-to-m relationships (same arg
> formats as the "find" method type):
+1 for this. Would be very helpful.
-
Using Tomcat but need to do more? Need to support web s
> Allowing a key name to be specified as a parameter to the load() call
> is a better idea, I think. (That'd require people to give their
> unique keys nice/sensible/memorable names, of course.)
+1 for this.
-
Using Tomcat b
>>Opinions?
>
>
> My initial thought was "messy", but I keep typing it that way
> expecting it to work so I agree with Ted, DWIM.
+1 for me also. I do the same thing.
-
Take Surveys. Earn Cash. Influence the Future of IT
n my test, which seems like a lot of overhead.
Thanks,
- jud
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT &
loyees.name' => 'jud',
],
with_objects => [ 'employees' ],
);
I get the expected results (1 item in the test case). However, when I look at
the list of employees for projects in my result set, they only contain
the employee that was in my search( me ), inst
> CREATE TABLE foo_bar_map (
> id INTEGER AUTO_INCREMENT PRIMARY KEY NOT NULL,
> foo_id INTEGER,
> bar_id INTEGER,
> FOREIGN KEY(foo_id) REFERENCES foos(id),
> INDEX(foo_id),
> FOREIGN KEY(bar_id) REFERENCES bars(id),
> INDEX(bar_id)
> )Type=InnoDB;
ry.
Would either of you be willing to share your code? I'm looking to solve
a similar problem and would greatly appreciate it.
Thanks,
- jud
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's
On 20/03/07 18:57 -0400, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> ok. its on my list right after the debugger module :)
If you're actually putting together a debug module, I'd put in a request
for a simple way to turn on all debugging in Rose... Like via an
environment variable, or using Log
Thanks for this.
- jud
On 16/03/07 10:12 -0700, "Randal L. Schwartz" wrote:
> >>>>> "Jud" == Jud <[EMAIL PROTECTED]> writes:
>
> Jud> Would either of you be willing to share your code? I'm looking to solve
> Jud> a similar pr
absorb the material in any
way!
If anything, I would like to see more examples, including the map
table with extra data that seems to be a frequent source of confusion.
Keep up the good work.
- jud
-
This SF.net email is spo
gt;new(
{project_id => 1,
tag_id => 2,
profile_id => 3});
$mapping->save;
Many thanks,
- jud
Here are the details of my db and classes:
DB TABLE SETUP
===
table projects (
id int not null primary key,
name varchar(255)
n
existing project.
Thanks again,
- jud
John Siracusa wrote:
> On 11/7/06, Jud Dagnall <[EMAIL PROTECTED]> wrote:
>
>>In my application, there is are projects, tags, and profiles (users).
>>Projects can be tagged by multiple profiles. Each tag has a many-to-many
Hey John-
Thanks for the quick and detailed reply. See my comments inline:
On 09/03/07 10:30 -0500, John Siracusa <[EMAIL PROTECTED]> wrote:
> What you seem to want is "all projects with all their employees, where
> at least one of the employees' names is 'jud'&qu
19 matches
Mail list logo