Пример #1
0
        public void CreateTable(Table table, CreateOptions options = null)
        {
            var commandText = _commandFormatter.CreateTable(table, options);

            Execute(cmd => { cmd.ExecuteNonQuery(); }, commandText);
        }
Пример #2
0
        public async Task CreateTable(Table table, CreateOptions options = null)
        {
            var commandText = _commandFormatter.CreateTable(_clickHouseConnection.Database, table, options);

            await ExecuteNonQueryAsync(commandText);
        }