File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ use thiserror::Error;
2020
2121pub  use  b64_encode:: * ; 
2222pub  use  sealed:: { SealedTableEntry ,  UnsealSpec } ; 
23- pub  use  sealer:: Sealer ; 
23+ pub  use  sealer:: { Sealer ,   UnsealedIndex } ; 
2424pub  use  unsealed:: Unsealed ; 
2525
2626/// In order to stop indexes from exploding with indexes on large strings, cap the number of terms 
Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ impl PreparedDelete {
132132    pub  fn  prepared_primary_key ( & self )  -> PreparedPrimaryKey  { 
133133        self . primary_key . clone ( ) 
134134    } 
135+ 
136+     pub  fn  protected_indexes ( & self )  -> & [ ( Cow < ' static ,  str > ,  IndexType ) ]  { 
137+         & self . protected_indexes 
138+     } 
135139} 
136140
137141impl  PreparedRecord  { 
@@ -165,6 +169,10 @@ impl PreparedRecord {
165169            . map ( |( key,  attr) | ( key. as_str ( ) ,  attr) ) 
166170    } 
167171
172+     pub  fn  unsealed_indexes ( & self )  -> & [ UnsealedIndex ]  { 
173+         & self . sealer . unsealed_indexes 
174+     } 
175+ 
168176    pub  fn  prepare_record < R > ( record :  R )  -> Result < Self ,  SealError > 
169177    where 
170178        R :  Searchable  + Identifiable , 
@@ -224,6 +232,10 @@ impl PreparedRecord {
224232    pub  fn  type_name ( & self )  -> & str  { 
225233        & self . sealer . type_name 
226234    } 
235+ 
236+     pub  fn  protected_indexes ( & self )  -> & [ ( Cow < ' static ,  str > ,  IndexType ) ]  { 
237+         & self . protected_indexes 
238+     } 
227239} 
228240
229241impl  DynamoRecordPatch  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments