On Sep 16, 2008, at 5:43 PM, Artem Melentyev wrote:
Hi, Ludovic.
Ludovic Dubost wrote:
status update:
Artem Melentyev wrote:
I'll try to implement "from doc.object(Class)" (seems easy) and "where doc.object(Class).property=something" (seems harder) xwql syntax before release, and commit it in xwiki-query/xwql
Are you handling all property types for properties ? If not which ones are currently supported ?
all except StringListProperty and DBStringListProperty. because they use other value property than "value". (textValue & list). This is easy to fix by adding 2 special cases.
What about custom mapping. Are you detecting this to write the HQL query differently ?
Not yet. But it is easy to add too: if there is a custom mapping then replace "BaseObject" to <XWiki.ClassName> and don't expand its properties. Correct?
Thanks to point on this. Doing it now.
Is it ok to include this in 1.6RC1?
Yes. RC1 is planned for be released either tomorrow or next Monday (more likely) depending on how fast we finish WYSIWYG editor and rendering issues. Thanks -Vincent