biospecdb.apps.uploader.sql

Functions

create_view(view, sql[, db, params, check, ...])

Create an SQL view on the database (db).

drop_view(view[, db])

Drop a SQL view from the database (db).

execute_sql(sql[, db, params])

Execute raw SQL against the database (db).

secure_name(name)

Parse SQL table or view name and raise SuspiciousOperation if not alphanumeric.

update_view(view, sql[, db, params, check, ...])

Update an SQL view on the database (db)