Skip to content

Instantly share code, notes, and snippets.

@hai5nguy
Created March 16, 2015 18:00
Show Gist options
  • Save hai5nguy/fee1be9d3a3c8533858a to your computer and use it in GitHub Desktop.
Save hai5nguy/fee1be9d3a3c8533858a to your computer and use it in GitHub Desktop.
//starting at line 854
var QD_DE_NAME = key + "_DE";
var QD_COUNT_NAME = key + "_Count";
var QD_SUPP_NAME = key + "_Suppress";
var retrieveDE;
var mylistDE;
var audienceDeDef;
var suppressionDeDef;
var fields;
var kq;
var sdef, ssf, sdefFields;
var sqt;
var status;
var qdDEDef, qdCountDef, qdSuppDef;
var qdDEObjectID, qdCountObjectID, qdSuppObjectID;
//man, look at all those variables prefixed with qd and QD.... hmmm... i wish i knew what qd is. Quicky Dicky?
//then on line 949... 100 LINES OF CODE LATER
qdSuppObjectID = SegmentUtils.InitQueryDef(qdSuppDef);
oooohhhhh, qd is Query Definition, silly me, here i thought it was quicky dicky... hmmm. what's a query defintion... oh it's javascript object that represents a c# object which represents a SQL query structure. WHY THE FUCK AM I MAKING SQL QUERY STRUCTURES IN JAVASCRIPT????
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment