query).
In the Before example, you can call the Inject by Type intention action on the 'SELECT * FROM foo' value, then
inject and associate this object type with any SQL dialect. The object type for this value is query (specified by q query DEFAULT 'SELECT * FROM foo').
So, next time you use the query type in code the selected dialect will be injected automatically.