8. The computer implemented method of claim 1 , further comprising: matching, in the first template instruction, the information object to the first variable token based on a matching of the object type and the token type of the first variable token.
1. A computer implemented method of constructing a database instruction, comprising: receiving a user-generated parameter from a user interface; constructing, in a memory of a computer, an information object based on an element of the user interface associated with the user-generated parameter, the information object including an object type and the user-generated parameter; associating, at runtime, the user-generated parameter with a first template instruction comprising one or more variable tokens each variable token having one or more variable token types, a first variable token occurring more than once in the first template instruction, and a first occurrence of the first variable token having a different variable token type than a second occurrence of the first variable token; determining that a section of a plurality of additional template instructions is defined as optional based on detecting an optional begin token and an optional end token that offset the section of additional template instructions, wherein each of the additional template instructions are associated with a respective variable; substituting, in the first template instruction, the user generated parameter of the information object for the first variable token; and generating a database instruction from at least the first template instruction, at least in part by excluding the additional template instructions from the database instruction based on determining that the information object does not include user-generated parameters for any of the respective variables associated with the additional template instructions.