Hi,
I have reviewed the source code for jabberd2 . And I want to query
the mysql database by “like”, but it seems that the source code doesn’t
support that .
For example , I want to build a sql command like this :
Select * from private where `collection-owner` = `xxx` AND `ns` like
`storage:xxx` ;
I found that the string-parse function “_st_mysql_convert_filter( )”
only parse the string like “ns = xxx” .So who can tell me how to query the
mysql by “like”.
And how can I deal with command like this:
Select * from private where `collection-owner` = `xxx` AND `ns` like
`storage:xxx` AND `xml` like `xxxx`;
Thanks,
---------------------------------
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev