[gnome-db] is it valid to have /*## ...*/ in the middle of nowhere?



i used to see a GdaQuery SQL expression like

SELECT * FROM account WHERE id=##/*name: 'account' type:'gint' */

but is it valid to have SQL

SELECT * FROM account WHERE ##/*name: 'account' type:'gchararray' */

(**note: without id= )

The point is, i want to create a search box. With one gtk_entry and
few radio button
for the user to select what information they want to find (name, last
name, email or SCN etc)

so, later i can substitute the expression to something like

id=2
name LIKE 'john%'

does it work this way?

thank you


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