Created
October 11, 2022 19:38
-
-
Save mrn-aglic/9e1d0acd77e152542fa83fb5a4a801c5 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
def print_rows(conn_id, db_hook, **context): | |
hook = db_hook(conn_id) | |
rows = hook.get_records("SELECT COUNT(*) FROM movies") | |
logging.info(rows) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment