Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
tutorial:poly_db_querying [2017/08/03 21:58] – paffenholz | tutorial:poly_db_querying [2017/08/09 09:46] – paffenholz | ||
---|---|---|---|
Line 81: | Line 81: | ||
| | ||
print $p-> | print $p-> | ||
+ | |||
+ | === Obtain Information about Searchable Fields in a Collection === | ||
+ | |||
+ | You can list all searchable entries of a collection with the command '' | ||
+ | < | ||
+ | db_print_searchable_fields(db=>" | ||
+ | |||
+ | Entries for smooth reflexive polytopes in dimensions 1 to 7 | ||
+ | ---------------------------- | ||
+ | AFFINE_HULL | ||
+ | CENTROID | ||
+ | CONE_AMBIENT_DIM | ||
+ | CONE_DIM | ||
+ | EHRHART_POLYNOMIAL_COEFF | ||
+ | FACETS | ||
+ | FACET_WIDTHS | ||
+ | FULL_DIM | ||
+ | F_VECTOR | ||
+ | GORENSTEIN | ||
+ | H_STAR_VECTOR | ||
+ | [...] | ||
+ | |||
+ | Entries for smooth reflexive polytopes in dimension 8 | ||
+ | ---------------------------- | ||
+ | AFFINE_HULL | ||
+ | [...] | ||
+ | |||
+ | Entries for smooth reflexive polytopes in dimension 9 | ||
+ | ---------------------------- | ||
+ | AFFINE_HULL | ||
+ | [...] | ||
+ | </ | ||
+ | |||
+ | There may be more than one list of searchable properties, e.g. if some properties cannot be stored or computed for some objects. Observe the header line of the list of properties to see which list applies to the objects you are looking for. The above lists apply to smooth reflexive polytopes in dimensions 1 to 7, in dimension 8 and in dimension 9. If a property appears in more than one list any search for this property will be executed on all objects that belong to one of the lists. | ||
=== Type Information === | === Type Information === | ||
Line 88: | Line 122: | ||
You can retrieve the type information entry with '' | You can retrieve the type information entry with '' | ||
$t = db_get_type_information(db=>" | $t = db_get_type_information(db=>" | ||
+ | |||
+ | For the format of such a type information entry in the database see [[devel/ | ||