File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
packages/drift_sqlite_async/lib/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ class SqliteAsyncDriftConnection extends DatabaseConnection {
1818  SqliteAsyncDriftConnection (
1919    SqliteConnection  db, {
2020    bool  logStatements =  false ,
21-     Set <TableUpdate > Function (UpdateNotification )?  transformTableUpdate ,
21+     Set <TableUpdate > Function (UpdateNotification )?  transformTableUpdates ,
2222  }) :  super (SqliteAsyncQueryExecutor (db, logStatements:  logStatements)) {
2323    _updateSubscription =  (db as  SqliteQueries ).updates! .listen ((event) {
2424      final  Set <TableUpdate > setUpdates;
2525      // This is useful to map local table names from PowerSync that are backed by a view name 
2626      // which is the entity that the user interacts with. 
27-       if  (transformTableUpdate  !=  null ) {
28-         setUpdates =  transformTableUpdate (event);
27+       if  (transformTableUpdates  !=  null ) {
28+         setUpdates =  transformTableUpdates (event);
2929      } else  {
3030        setUpdates =  < TableUpdate > {};
3131        for  (var  tableName in  event.tables) {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments