ARO:
- Root
- Admin
- User 1
- User 5
- Users
- User 2
[Read More]
Views 330
Comments 0
Filed under:
CakePHP
SELECT
*
FROM
my_table
WHERE
id = :myBind;
$bingArray = array(
'myBind' => 12
);
memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
Updated: I've released a working version of the oracle connection class that does not need behaviors to utilize bind variables.We ran into some more issues using the CakePHP Clob behavior that Bobby Borisov and Nedko Penev wrote. Basically, the issue was that the original file used a reference variable to the model that was supposed to be using the behavior. However, it seemed to always doing something very by expanding the model array everytime the behavior was called.
// get list of blog entries
// ------------------------
$archive = $this->Blog->BlogEntry->findAll(
null,
array(
'BlogEntry.id',
'BlogEntry.created'
),
'BlogEntry.created DESC',
null,
[Read More]
Views 735
Comments 0
Filed under:
CakePHP
Updated: I've made some changes to the CakePHP Clob BehaviorBobby Borisov and Nedko Penev over at chankov.net wrote a great CakePHP behavior to help with handling Oracle clob fields in CakePHP 1.2. For those of you unfamiliar with Oracle, it will only let you insert or update a clob field with less than 4000 characters without using a bind variable. If you need to place a value [Read More]
var $default = array(
'driver' => 'oracle',
'persistent' => false,
'host' => '',
'port' => '',
'login' => '',
'password' [Read More]
Views 2922
Comments 3
