What if (i've considered developing this for awhile now...) the engine supported SQL via generation through classes.
Ideal SuperClass:
Query
Subclasses:
SelectQuery,
InsertQuery,
UpdateQuery,
SubQuery (may not be necessary),
DeleteQuery,
CreateQuery,
ExplainQuery (may be synonymous with DescribeQuery)
anyone else interested in this?
basically, all that would be needed then is to create an object of the appropriate query type needed, and bind some fields, choose a table or two, specify where conditions, and the query would be returned via GetQuery();
