
Search In
Indexes improve the efficiency of read operations by reducing the amount of data that query operations need to process.
Create index for a collection :
The index can be defined in schema of collection. Consider the following collection Accounts:
Acc
If you want to make relational fields in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: -
name = fields.Char(string="Title", required=True)
description = fields.Text()
responsible_id = fields.Many2one('res.
To create a dictionary which contain an array below tutorial will help you.
In this blog firstly we create a NSArray which contain some value and after that I have displayed all the value and then created a NSMutableDictioary and provide a key to the
Underlining title text of UIButton can be done with attributed string using following code (In this case yourTitleLabelText is title text for button and yourButtonObject is button object):
NSMutableAttributedString *titleString = [[NSMutableAttribut
String-valued functions return NULL, if the the result's length would be greater than the value of the max_allowed_packet system variable.
The first position of a string (for those functions which operate on string), is numbered 1.
Noninteger argum
INTERSECT Clause:
It works similar like union clause as it is used to combine two SELECT statements, but it returns tuples only from first SELECT statement which are common to tuples in the second SELECT statement.
Syntax:
SELECT colum
var ClosureDem = function (arg1) {
return function (arg2) {
return arg1 + arg2;
}
}
ClosureDem("Hello")(" world!");//-> "Hello world!"
Recently, I started learning about closures in functions and found a lot of new things for myself bu
Sometimes a user is required to input a date in the application for example to provide the date of birth. The programmer have to make sure that the date entered by the user is in correct format that can be used by the app or the server. If a numpad i
NSSplitView have delegate methods where we control the minimum and maximum sizes of sections and which views expand or collapse by what amount.
Constraining the coordinates in the splitView:constrainMinCoordinate:ofSubviewAt: sets the minimum size o
In cakephp framework there is a way which features pagination easily on your web page.
This can be done as :
Controller Code :
public $components = array('Paginator','Flash');
public function index() {
$this->paginate = array(
