1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use Operation;
use crate::;
/// Looks up primary keys through a secondary index.
///
/// The driver queries the specified secondary index using `filter` and returns
/// the matching primary key values. The query engine then uses those keys
/// in a subsequent [`GetByKey`](super::GetByKey) operation to fetch full records.
///
/// # Examples
///
/// ```ignore
/// use toasty_core::driver::operation::{FindPkByIndex, Operation};
///
/// let op = FindPkByIndex {
/// table: table_id,
/// index: index_id,
/// filter: filter_expr,
/// };
/// let operation: Operation = op.into();
/// ```