Documentation mistake " used INTO instead of IN " In the topic 'Data modification using AQL'

31 views
Skip to first unread message

venkat

unread,
Jul 12, 2014, 1:28:04 PM7/12/14
to aran...@googlegroups.com
Hi there,
I copied below query from the documentation at http://docs.arangodb.org/Aql/Invoke.html

arangosh> db._query("FOR i IN 1..100 INSERT { _key: CONCAT('test', TO_STRING(i)) } INTO mycollection").getExtra();
{
 "operations" : {
   "executed" : 100,
   "ignored" : 0
 }
}


In the above query, we should use "IN" in the place of "INTO"(highlighted in red color). Otherwise I am getting error.

Thanks & Regards,
venkat

Frank Celler

unread,
Jul 12, 2014, 1:40:33 PM7/12/14
to aran...@googlegroups.com
Thanks for the report. That was a last minute change. In 2.2.0 (which is currently building) , both IN and INTO are allowed.
Reply all
Reply to author
Forward
0 new messages