def table_names(self):
     # NonrelDatabaseIntrospection has an implementation of this that returns
     # that all of the tables for the models already exist in the database,
     # so the DatabaseCreation code never gets called to create new tables,
     # which isn't how we want things to work for Cassandra, so we bypass the
     # nonrel implementation and go directly to the base introspection code.
     return BaseDatabaseIntrospection.table_names(self)
 def table_names(self):
     # NonrelDatabaseIntrospection has an implementation of this that returns
     # that all of the tables for the models already exist in the database,
     # so the DatabaseCreation code never gets called to create new tables,
     # which isn't how we want things to work for Cassandra, so we bypass the
     # nonrel implementation and go directly to the base introspection code.
     return BaseDatabaseIntrospection.table_names(self)
Пример #3
0
 def table_names(self, cursor=None):
     return BaseDatabaseIntrospection.table_names(self, cursor)
Пример #4
0
 def __init__(self, conn):
     BaseDatabaseIntrospection.__init__(self, conn)
     self._table_list_cache = None
     self._table_description_cache = {}
     self._oauth = None
Пример #5
0
	def __init__(self, conn):
		BaseDatabaseIntrospection.__init__(self, conn)
		self._table_list_cache = None
		self._table_description_cache = {}
		self._oauth = None