in reply to Re: How to detect postgresql RETURNING usage
in thread How to detect postgresql RETURNING usage
E.G. The query entry interface of many database management systems, like phpmyadmin or PGadmin3, don't have separate input fields for separate query types either.
I've made a single general purpose routine that send the query to the database and returns the most useful thing the database throws back at it, being a record-set (with 0..n elements), the autoinsertID (mysql only) or the amount of rows affected.
And although I know this is not the most elegant thing, it is very, very simple to use and suits 100% of the use cases I have met last year.
Anyway, you were right: I have used the Active attribute to fix my issue (for now), rather than take a different approach altogether. I thank you for mentioning it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to detect postgresql RETURNING usage
by ikegami (Patriarch) on Sep 07, 2010 at 16:29 UTC |