Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Search
Search.Database
Search.Database.Base

Method Search.Database.Base()->allocate_field_id()


Method allocate_field_id

int allocate_field_id(string field)

Description

Allocate a field id.

Parameter field

The (possibly wide string) field name wanted.

Returns

An allocated numeric id, or -1 if the allocation failed.