Here's a quick overview of what I'm trying to do. Instead of products
and colors, I have jobs and nodes. Along with the job/node pair, I'll
have 1 more field that is the number of cpus used on that node by the
job. So I'm expecting my map table to look like:
CREATE TABLE job_node_map
(
job_id INT NOT NULL REFERENCES jobs(id),
node_id INT NOT NULL REFERENCES nodes(id),
ncpu INT NOT NULL,
PRIMARY KEY (job_id, node_id)
);
Now the problem.... how do I access ncpu?
There have been a few threads about this in the past. Here's a post
that summarizes the situation:
http://www.mail-archive.com/rose-db...@lists.sourceforge.net/msg01792.html
Be sure to read the whole thread to get an idea of the context.
Here's a later thread on the same topic:
http://www.mail-archive.com/rose-db...@lists.sourceforge.net/msg01941.html
-John
--
Source: https://github.com/siracusa/rose
CPAN: http://search.cpan.org/dist/Rose-DB-Object
---
You received this message because you are subscribed to the Google Groups "Rose::DB::Object" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rose-db-objec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.