Created
December 2, 2016 01:39
-
-
Save berntxspeed/a301493df102e31f8023098a801d27a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: from server.app.common.models import Customer | |
In [2]: from server.app.data.services.classes.data_pusher import DataPusher | |
In [3]: dp = DataPusher(db, Customer) | |
In [4]: query = Customer.query.filter(Customer.eml_sends!=None) | |
In [5]: resp = dp.sync_query('customers_with_email_sends', query) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment