Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/bd8cc02f1045a68e47254703edb4afed to your computer and use it in GitHub Desktop.
Save trycf/bd8cc02f1045a68e47254703edb4afed to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
// Creo la query fittizia con le colonne specificate
qUtenti = QueryNew("id,nome,email", "integer,varchar,varchar");
writeOutput(qUtenti);
// Aggiungo i dati alle colonne
/*QuerySetCell(qUtenti, "id", [1, 2, 3]);
QueryAddColumn(qUtenti, "nome", ["Alice", "Bob", "Charlie"]);
QueryAddColumn(qUtenti, "email", ["alice@example.com", "bob@example.com", "charlie@example.com"]);
// Output per verifica
WriteDump(qUtenti);*/
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment