Обсуждение: Object based Query Requirement.

Поиск
Список
Период
Сортировка

Object based Query Requirement.

От
"Anagha Joshi"
Дата:

Hi,

I use Postgres-7.2.4. and my client is in C++

I need to know the following:

As I user libpq++ library, I have to pass the query in the string format only. i.e.const  char *

Does Postgres support object based query? i.e. User should make the object of some query class (supported by Posstgres) and just sets predicates, fields, table names by invoking proper member functions of the same object. Then calls the member function like executeQuery or so of the same object.

Is there any way to do this?

Thx.,

Anagha