Пример #1
0
 def insert(self, table, values, schema=None):
     """Inserts a set of values into the specified table. The values must
        be either a pandas dataframe or a dictionary of values. If no schema
        is specified, the "sys" schema is used. If no client context is 
        provided, the default client context is used. """
     if not self.connection:
         self.__exception_handler(ProgrammingError, "cursor is closed")
     return embeddedmonetdb.insert(table, values, schema=schema, client=self.connection.get_connection())
Пример #2
0
def insert(*args, **kwargs):
    return embeddedmonetdb.insert(*args, **kwargs)