Here are the examples of the python api sqlalchemy.insert.execute taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
View Complete Implementation : asset_writer.py
Copyright Apache License 2.0
Author : zhanghan1990
Copyright Apache License 2.0
Author : zhanghan1990
def write_version_info(version_table, version_value):
"""
Inserts the version value in to the version table.
Parameters
----------
version_table : sa.Table
The version table of the astet database
version_value : int
The version to write in to the database
"""
sa.insert(version_table, values={'version': version_value}).execute()