Created
June 18, 2023 14:50
-
-
Save joaofig/e5817b821fadd60049b8db0482f1d347 to your computer and use it in GitHub Desktop.
Inserts the geometry string
This file contains hidden or 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 insert_geometry(traj_id: int, | |
| geometry: str) -> None: | |
| db = TrajDb() | |
| sql = "insert into traj_match (traj_id, geometry) values (?, ?)" | |
| db.execute_sql(sql, [traj_id, geometry]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment