示例#1
0
	def drop(self):
		'''Drops the table from the database

		Arguments:
			name - name of the table to be dropped

		Usage:
			db.dropTable("users")

		returns an ExecutionCursor object'''
		query = SQLString.dropTable(self.name)
		return self.execute(query)
示例#2
0
	def dropTable(self, name):
		'''Drops a table from the database

		see Table.drop for further reference'''
		query = SQLString.dropTable(name)
		return self.execute(query)