I found the error in my latest commit. This pass the test suite.
This commit is contained in:
parent
cf8a6c00f3
commit
0e4419ba67
@ -374,6 +374,6 @@ class ModelChoiceList extends ObjectChoiceList
|
||||
*/
|
||||
private function isInteger($col)
|
||||
{
|
||||
return $col->getType() === \PDO::PARAM_INT;
|
||||
return $col->getPdoType() === \PDO::PARAM_INT;
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,9 @@ class ItemQuery
|
||||
|
||||
public function getPrimaryKeys()
|
||||
{
|
||||
return array('id');
|
||||
$cm = new ColumnMap('id', $this);
|
||||
$cm->setType('INTEGER');
|
||||
return array('id' => $cm);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -22,6 +22,8 @@ class ReadOnlyItemQuery
|
||||
|
||||
public function getPrimaryKeys()
|
||||
{
|
||||
return array('id');
|
||||
$cm = new ColumnMap('id', $this);
|
||||
$cm->setType('INTEGER');
|
||||
return array('id' => $cm);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user