0
我正在使用zf1。模态查询是:为zend准备的报表
$select = $postTable->select()
->setIntegrityCheck(false)
->from('posts')
->joinLeft('users', 'users.id = posts.user_id', array('post_first_name' => 'first_name'))
->where('posts.property_id = ?', $id);
$postTable->fetchAll($select);
我想为此查询使用准备语句。我还没有想出如何将其转换为准备好的语句,所以请帮助我将此查询转换为准备好的语句。
你是什么意思是'准备陈述' – zzlalani