Welcome Guest, Not a member yet? Register   Sign In
how can I create an empty database query object?
#9

[eluser]jedd[/eluser]
[quote author="fritzthecat" date="1239293335"]Still, it feels somewhat strange not being able to create an empty query object.[/quote]

Well, you are attempting to work around an ugly hack by implementing an ugly hack of your own rather than trying to resolve the actual problem - bad extant and ostensibly immutable code.

In that context, it is less surprising that the language doesn't implicitly encourage this behaviour.

Are you really sure you can't slip a one-line isset or eval check for FALSE in the target function?


Messages In This Thread
how can I create an empty database query object? - by El Forum - 04-08-2009, 10:42 AM
how can I create an empty database query object? - by El Forum - 04-08-2009, 10:47 AM
how can I create an empty database query object? - by El Forum - 04-08-2009, 10:54 AM
how can I create an empty database query object? - by El Forum - 04-08-2009, 02:25 PM
how can I create an empty database query object? - by El Forum - 04-08-2009, 10:27 PM
how can I create an empty database query object? - by El Forum - 04-09-2009, 04:29 AM
how can I create an empty database query object? - by El Forum - 04-09-2009, 05:02 AM
how can I create an empty database query object? - by El Forum - 04-09-2009, 05:08 AM
how can I create an empty database query object? - by El Forum - 04-09-2009, 06:01 AM
how can I create an empty database query object? - by El Forum - 04-09-2009, 07:06 AM
how can I create an empty database query object? - by El Forum - 04-09-2009, 01:03 PM
how can I create an empty database query object? - by El Forum - 08-20-2012, 07:53 AM
how can I create an empty database query object? - by El Forum - 08-20-2012, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB