
Search In
It is used where ample data is fetched from the query and there are numerous levels of associations between your models.
we use Recursive like this way.
$this->Region->find('all', array('recursive' => 0));
These are levels of Recursive f
Drupal database abstraction layer allow's the use of different database servers using the same code base i.e it provides
with the ability to support multiple database servers easily. The system is built a top PHP's PHP Data Objects database API and
Some time in Laravel 4.x we will get the error "Failed to open stream: Permission denied" error .When we have no permission then this type of error will occur. So to overcome this problem by using php artisan
are:
Step:
php artisan cache:clear
c
We can use array_reverse function to invert the values of array.This way we can allow them to get reverse order.
Ex : -
$data = Array(
'ProductA',
'ProductB',
'ProductC',
'ProductD',
'ProductE'
);
foreach ( array_reverse($data) as $valu
As we know that , Node js is a single threaded application but it also support concurrency based on concept of event and callbacks.
Every api that we are doing using node.js are asynchronous and single thread,node js uses asynchronous function ca
A common problem with float-based layouts is that the floats' container doesn't want to stretch up to accomodate the floats. If you want to add, say, a border around all floats (ie. a border around the container) you'll have to command the browsers s
AJAX----- Asynchronous JavaScript and XML.
We use AJAX when we are using the concept of " B to B " or "B to C"
B to B -- business to business ........................................// user to website.
B to C -- business to costumers...............
Write a sql query to add column's value , containing null values also in records. But the sum of the added columns must be numeric only. Output cannot be null. It can be achieve by two ways.
SELECT (COALESCE(Column1, 0) + COALESCE(Column2, 0)) as
Full form of ACID is Atomicity Consistency Isolation Durability . ACID is the concept that database professional follow while evaluating relational database and application architecture. For a reliable database all of the following attributes should
While working on linux we usually need command to copy folder from one location to another , this can be archived by simple console commands in a simple way :
cp -r sourcedir targetdir : Where -r means recursively i.e all the files in a folder
For
