Fix how we select changes from CORE DB in datasync
to placate SQLAlchemy warnings
This commit is contained in:
		
							parent
							
								
									87bd1faa58
								
							
						
					
					
						commit
						6e50ea58a8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -54,7 +54,7 @@ class CoreOfficeOpWatcher(DataSyncWatcher): | |||
| 
 | ||||
|     def get_changes(self, lastrun): | ||||
|         session = CoreSession() | ||||
|         result = session.execute(sa.sql.select([self.corepos_changes])) | ||||
|         result = session.execute(self.corepos_changes.select()) | ||||
|         changes = result.fetchall() | ||||
|         session.close() | ||||
|         if changes: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar