GetContextMap

Obtiene el mapa que contiene todas las entradas de contexto.

Sintaxis

Versión ASCII
MAP_STRING**getContextMap(Message* message) 
Where the MAP_STRING is defined by 
typedef struct map_string{ 
char* key; 
char* value; 
}MAP_STRING;
Versión Unicode
MAP_STRING**getContextMap(Message* message) 
Where the MAP_STRING is defined by 
typedef struct map_string{ 
UChar* key; 
UChar* value; 
}MAP_STRING;

El json en el POST es opcional; solo se requiere si la consulta SQL utiliza parámetros vinculados.

  • Message: el mensaje al que se aplica esta función

Resultados

Arroja la serie de MAP_STRING, que contiene todas las entradas de contexto.

Arroja la cantidad de características actualizadas de manera exitosa en una tabla con nombre asignado en el repositorio.

Versión ASCII
int i; 
char* name; 
char* value; 
MAP_STRING** mapping; 
mapping = getContextMap( message); 
i=0; 
while(mapping[i] != NULL) 
{ 
name= mapping[i]->key; 
value = mapping[i]->value; 
i++; 
}
Versión Unicode
int i; 
UChar* name; 
UChar* value; 
MAP_STRING** mapping; 
mapping = getContextMap( message); 
i=0; 
while(mapping[i] != NULL) 
{ 
name= mapping[i]->key; 
value = mapping[i]->value; 
i++; 
}