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?
Well you have to check if the property is custom mapped because you can
have a mix..
I think there are some apis for that..
Thanks to point on this. Doing it now.
Is it ok to include this in 1.6RC1?
Since xwql query is experimental I think you can put it in the state it
is at release time
Ludovic
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost