From 7adc2c36b0e839384baac50be35c0999d1e546df Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 25 May 2014 16:06:17 +0200 Subject: Implement ets:take/2 This new ETS BIF returns and deletes objects from tables. --- lib/stdlib/doc/src/ets.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lib/stdlib/doc/src/ets.xml') diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml index 3df24bf688..ef08f3c0cc 100644 --- a/lib/stdlib/doc/src/ets.xml +++ b/lib/stdlib/doc/src/ets.xml @@ -1586,6 +1586,21 @@ true writing complicated ets:select/2 calls.

+ + + Return and remove all objects with a given key from an ETS + table. + +

Returns a list of all objects with the key Key in + the table Tab and removes.

+

The given Key is used to identify the object by + either comparing equal the key of an object in an + ordered_set table, or matching in other types of + tables (see lookup/2 and + new/2 for details on the + difference).

+
+
Fill a Dets table with objects from an ETS table. -- cgit v1.2.3