Apple Newton Utilities Uživatelská příručka Strana 501

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 500
CHAPTER 11
Data Storage and Retrieval
Summary of Data Storage 11-69
Multiple-Slot Index Specication Frame 11
{
// index keys may be multiple slot values
structure: 'multiSlot, // must use this value
// up to six path expressions specifying indexed slots
path:[pathExpr1, pathExpr2, … , pathExpr6],
// data type found in each indexed slot
type:[sym1, sym2, … sym6]
// optional. 'ascending or 'descending
order: [sym1, sym2, … sym6 ]
// optional. pass 1 to use alternate sort table
sortID: nil
}
Tags Index Specication Frame 11
{
// must use this value - tags are slot values
structure:'slot,
// index values (tags) extracted from this slot
path:'slotName,
// must use this value
type:'tags,
}
Query Specication Frame 11
// pass nil instead of a query spec frame
// to retrieve all entries in the soup
// this frame used for queries on single-slot indexes
// see next example for multiple-slot query spec frame
{
// use the specified single-slot index for this query
// required when querying for index values
indexPath : 'pathExpr,
// minimum index key value examined by this query
// for all entries, (beginKey entry.indexPath)
beginKey : keyValue, // optional
// excluded lower boundary of key range examined by query
// for all entries, (beginExclKey < entry.indexPath)
beginExclKey : keyValue, // optional
Zobrazit stránku 500
1 2 ... 496 497 498 499 500 501 502 503 504 505 506 ... 941 942

Komentáře k této Příručce

Žádné komentáře