@@ -2291,8 +2291,8 @@ Result = '$1',
22912291mnesia:select(Tab,[{MatchHead, [Guard], [Result]}]),
22922292```
22932293""" .
2294- -spec select (Tab , Spec , LockKind ) -> [Match ] when
2295- Tab :: table (), Spec :: ets :match_spec (),
2294+ -spec select (Tab , MatchSpec , LockKind ) -> [Match ] when
2295+ Tab :: table (), MatchSpec :: ets :match_spec (),
22962296 Match :: term (),LockKind :: lock_kind ().
22972297select (Tab , Pat , LockKind )
22982298 when is_atom (Tab ), Tab /= schema , is_list (Pat ) ->
@@ -2369,9 +2369,9 @@ operations are done on that table in the same transaction. That is, do not use
23692369`NObjects` is a recommendation only and the result can contain anything from an
23702370empty list to all available results.
23712371""" .
2372- -spec select (Tab , Spec , N , LockKind ) -> {[Match ], Cont } | '$end_of_table' when
2373- Tab :: table (), Spec :: ets :match_spec (),
2374- Match :: term (), N :: non_neg_integer (),
2372+ -spec select (Tab , MatchSpec , NObjects , LockKind ) -> {[Match ], Cont } | '$end_of_table' when
2373+ Tab :: table (), MatchSpec :: ets :match_spec (),
2374+ Match :: term (), NObjects :: non_neg_integer (),
23752375 LockKind :: lock_kind (),
23762376 Cont :: select_continuation ().
23772377select (Tab , Pat , NObjects , LockKind )
0 commit comments