Skip to content

Commit 427586b

Browse files
Initial draft of find / find one (#8)
Co-authored-by: jeffrey-elliott <[email protected]>
1 parent 311356a commit 427586b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3780
-336
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ test/DataStax.AstraDB.DataAPI.IntegrationTests/appsettings.sample.json
77
test/DataStax.AstraDB.DataApi.UnitTests/bin
88
test/DataStax.AstraDB.DataApi.UnitTests/obj
99
appsettings.json
10+
latest_run.log

src/DataStax.AstraDB.DataApi/Admin/AstraDatabasesAdmin.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
using System.Collections.Generic;
2222
using System.Linq;
2323
using System.Net.Http;
24-
using System.Text.Json;
2524
using System.Threading;
2625
using System.Threading.Tasks;
2726

@@ -413,6 +412,6 @@ internal Task<DatabaseInfo> GetDatabaseInfoAsync(Guid dbGuid, CommandOptions opt
413412

414413
private Command CreateCommand()
415414
{
416-
return new Command(_client, OptionsTree, new AdminCommandUrlBuilder(OptionsTree));
415+
return new Command(_client, OptionsTree, new AdminCommandUrlBuilder());
417416
}
418417
}

src/DataStax.AstraDB.DataApi/Admin/DatabaseCreationOptions.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright DataStax, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
using DataStax.AstraDB.DataApi.Core;
218
using System.Text.Json.Serialization;
319

0 commit comments

Comments
 (0)