MATLAB DATABASE TOOLBOX RELEASE NOTES Podręcznik Użytkownika Strona 665

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 684
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 664
supports
7-235
supports
Detect whether property is supported by database metadata object
Syntax
a = supports(dbmeta)
a = supports(dbmeta, 'property')
Description
a = supports(dbmeta) returns a structure that contains the properties of dbmeta
and its property values, 1 or 0. A value of 1 indicates that the property is supported, and
0 indicates that the property is not supported.
a = supports(dbmeta, 'property') returns 1 or 0 for the property field of
dbmeta. A value of 1 indicates that the property is supported, and 0 indicates that the
property is not supported.
Examples
1
Check if dbmeta supports group-by clauses.
a = supports(dbmeta, 'GroupBy')
a =
1
2
View the value of all properties of dbmeta.
a = supports(dbmeta)
The returned result is a list of properties and their values.
3
After creating a using the supports function, you can access the value of any
property in a. Display the GroupBy property by running:
a.GroupBy
a =
1
Przeglądanie stron 664
1 2 ... 660 661 662 663 664 665 666 667 668 669 670 ... 683 684

Komentarze do niniejszej Instrukcji

Brak uwag