Skip to main content
Version: 0.0.22

IaSQL PostgreSQL Functions

namesignaturedescriptionsample usage
applyiasql_apply()Create, delete or update the cloud resources in a hosted dbSELECT * FROM iasql_apply()
preview_applyiasql_preview_apply()Preview of the resources in the db to be modified on the next applySELECT * FROM iasql_preview_apply()
synciasql_sync()Synchronize the db with the current state of the cloud accountSELECT * FROM iasql_sync()
preview_synciasql_preview_sync()Preview of the resources in the db to be modified on the next syncSELECT * FROM iasql_preview_sync()
installiasql_install(variadic text[])Install mods(s) in db and returns a record for every created tableSELECT * FROM iasql_install('aws_vpc', 'aws_ec2')
uninstalliasql_uninstall(variadic text[])Uninstall mod(s) in db and returns a record for every dropped tableSELECT * FROM iasql_uninstall('aws_vpc', 'aws_ec2')
modules_listiasql_modules_list()Lists all modules available to be installedSELECT * FROM iasql_modules_list()
modules_installediasql_modules_installed()Lists all modules currently installed in the dbSELECT * FROM iasql_modules_installed()
delete_all_recordsdelete_all_records()Delete all records in tables managaed by IaSQL modulesSELECT * FROM delete_all_records()
helpiasql_help()Lists IaSQL functions, their description and sample usageSELECT * FROM iasql_help()