Re: [gnome-db] how to query provider to know the number of arguments to pass to gda_sql_builder_add_cond



Hi!

The number of arguments required by each type of GdaSqlOperatorType does not depend on the provider, it's defined by the SQL language. There is currently no way of knowing how many arguments a GdaSqlOperatorType requires.

There is also no way of knowing for sure if a specific provider supports a GdaSqlOperatorType.

Note that each of these kind of information would however not be very difficult to implement if you really need them.

Regards,

Vivien

2016-02-15 15:31 GMT+01:00 Andrea Zagli <azagli libero it>:
as the object

is there a way to query the database provider to get the right number of arguments to pass to gda_sql_builder_add_cond base on GdaSqlOperatorType?

and, is there a way to query the database provider to know if a GdaSqlOperatorType is supported?

thanks in advance
_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-db-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]