Serializzazione del Result Set
Sintassi
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
stmt_start((START))
stmt_start --> stmt_0_0[RESULT_SET_SERIALIZATION]:::quoted
stmt_0_0 --> stmt_0_1["("]:::quoted
stmt_0_1 --> stmt_0_2[SHOW]:::quoted
stmt_0_1 --> stmt_0_3[HIDE]:::quoted
stmt_0_3 --> stmt_0_4[")"]:::quoted
stmt_0_2 --> stmt_0_4
stmt_0_4 --> stmt_end((END))
L'hint result_set_serialization estende i metadati del result set con un suggerimento per il software di elaborazione, come Invantive Data Access Point, che il result set deve essere serializzato. Il valore predefinito è show.
Esempi
I risultati della query non vengono restituiti nella risposta JSON di un Invantive Data Access Point preimpostato in esecuzione:
select /*+ result_set_serialization(hide) */ count(*)
from MyCustomersTable@postgresql