Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 3 Module Framework : Vardefs : Indices Array

Indices Array
This array contains a list of arrays that are used to create indexes in the database. The fields in this array are:
o
o
o
The following example is to create a primary index called 'userspk' on the 'id' column
array('name' =>'userspk', 'type' =>'primary', 'fields'=>array('id')),

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License