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

[eluser]fritzthecat[/eluser]
Thanks Colin / NogDog. It's not a matter of me being lazy, but interacting with other people's code I cannot change.

My first approach would be to do just what you suggest Colin, but the query I am returning is actually a multiple join, and I don't want to run it if I don't have to, so I am been using something similar to NogDog's dummy query.

I just hoped there'd be a 'proper' way of doing it, just like in normal php you can just say return array() or something


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