Hi-

I have a custom type, mytype, which has two columns: mytype.foo and mytype.bar.

It seems when I want to perform a node_load using the $params = array('key' => 'value', ) syntax, the node module will only look in the node table for the parameter. It will not look in the mytype table when I specify this search parameter:

array('type' => 'mytype', 'foo' => 123, );

I get a db error, n.mytype does not exist.

Inspecting the node module, if there are parameters, it assumes 'n.' for the prefix.

Is this a bug or feature?