smilax:: WebLog #1 Topic : 2003-12-12 04.36.37 dmm : FieldDesc table entry key [Changes]   [Calendar]   [Search]   [Index]   [PhotoTags]   

[Bedstraw] *smilax*
  [Back to weblog:]  

FieldDesc table entry key

1 = single-value-only
m = multi-valued
s = whole-string-index
w = word-index
k = keyed


    {FieldDesc:fieldName          {fieldAttributes readLevel writeLevel}}
    1 = single-value-only
          (field contents represented by a single string)
    m = multi-valued
          (field can hold more than one string -a list of strings)

    s = whole-string-index
          (search strings are matched against field contents "as is")
    w = word-index
          (non-alphanumeric characters in field are converted to spaces
           before matching against search strings)

    k = keyed
          (possibly multiple instances of the field on a page
           -field is a list of {index string} pairs where index is a wiki supplied number)
   The permission level required for a user to read/write a field.
Example table entries (from 1.edittable):
{FieldDesc:name          {1sw 70 70}}
{FieldDesc:status          {ms 70 70}}
{FieldDesc:sticky          {1kw 70 70}}
{FieldDesc:zip          {1s 70 70}}


showing all 1 messages     [Show 3 7 *10* 14 30 100 999 days or 10 *20* 30 50 100 999 messages]


by strick:
Smilax reserves field names with no _ and no uppercase lettters.

Users should begin their fields with a prefix and an underscore, or a capital letter prefix and camelCase.

Post a new message:


(last modified 2003-12-12)       [Login]
(No back references.)