[doc] update 3.19 release notes
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 28 Apr 2014 17:43:35 +0200
changeset 9710 dff4bda87c6a
parent 9709 d60dc7e03a45
child 9711 59616edc20d7
[doc] update 3.19 release notes
doc/3.19.rst
--- a/doc/3.19.rst	Mon Apr 28 12:41:41 2014 +0200
+++ b/doc/3.19.rst	Mon Apr 28 17:43:35 2014 +0200
@@ -7,6 +7,8 @@
 * implement Cross Origin Resource Sharing (CORS)
   (see `#2491768 <http://www.cubicweb.org/2491768>`_)
 
+* system_source.create_eid can get a range of IDs, to reduce overhead of batch
+  entity creation
 
 Behaviour Changes
 -----------------
@@ -31,10 +33,10 @@
 manager to never miss an end::
 
     with session.new_cnx() as cnx:
-        self.execute('INSERT Elephant E, E name "Cabar"')
-        self.commit()
-        self.execute('INSERT Elephant E, E name "Celeste"')
-        self.commit()
+        cnx.execute('INSERT Elephant E, E name "Babar"')
+        cnx.commit()
+        cnx.execute('INSERT Elephant E, E name "Celeste"')
+        cnx.commit()
     # Once you get out of the "with" clause, the connection is closed.
 
 Using the same Connection object in multiple threads will give you access to the