Grass-valley K2 TX/MAM Database Protocol Manual v.2.2 Instrukcja Użytkownika Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 38
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 27
TX/MAM Database Protocol Manual - document version: 2.2 Page 28
8.8 Deleting a record (indicated by the ID) from a table
int cob_delete_table_element( char *table, long long id );
Parameters
Name
Description
char *table
The table to update, e.g. "asset_element".
long long id
The id of the record to delete, e.g. 123.
Result
The result of the function is an integer that can have following values:
Value
Description
0
Success, the record has been deleted.
-1
Failure, the record could not be deleted.
Example
This example deletes the asset_element record with id== 123:
if ( cob_create_table_element("asset_element", 123) != 0 ) {
/* Log error */
}
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 37 38

Komentarze do niniejszej Instrukcji

Brak uwag