Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)
execute `sql` across all shards.

src/s/i/simplestore-0.3.1/simplestore/tests/test_sharding.py   simplestore(Download)
    def setUp(self):
        self.datastore = DataStore(**config.sharded_datastore_params)
        self.datastore.global_execute(entities_table)
 
        self.datastore.global_execute("""
            PRIMARY KEY (username, entity_id)
        ) ENGINE=InnoDB;
        """)
 
        self.datastore.global_execute("""
            PRIMARY KEY (user_id, entity_id)
        ) ENGINE=InnoDB;
        """)
 
        self.datastore.add_index(Index('index_user',

src/s/i/simplestore-HEAD/simplestore/tests/test_sharding.py   simplestore(Download)
    def setUp(self):
        self.datastore = DataStore(**config.sharded_datastore_params)
        self.datastore.global_execute(entities_table)
 
        self.datastore.global_execute("""
            PRIMARY KEY (username, entity_id)
        ) ENGINE=InnoDB;
        """)
 
        self.datastore.global_execute("""
            PRIMARY KEY (user_id, entity_id)
        ) ENGINE=InnoDB;
        """)
 
        self.datastore.add_index(Index('index_user',

src/s/i/simplestore-HEAD/simplestore/tests/__init__.py   simplestore(Download)
    def setUp(self):
        self.datastore = DataStore(**config.datastore_params)
        self.datastore.global_execute(entities_table)
 
    def tearDown(self):

src/s/i/simplestore-0.3.1/simplestore/tests/__init__.py   simplestore(Download)
    def setUp(self):
        self.datastore = DataStore(**config.datastore_params)
        self.datastore.global_execute(entities_table)
 
    def tearDown(self):