Beispiel #1
0
 public static string GetFirstAvailableKeyspace(WrappedConnection wrappedConnection) =>
 wrappedConnection.QueryForString("select keyspace_name from system_schema.keyspaces limit 1");
Beispiel #2
0
 public override string GetCurrentSchemaName() => WrappedConnection.QueryForString("SHOW database");
Beispiel #3
0
 public override string GetCurrentSchemaName() => WrappedConnection.QueryForString("SELECT DATABASE();");
Beispiel #4
0
 public override string GetCurrentSchemaName() => CleanSchemaName(WrappedConnection.QueryForString("SHOW search_path"));
Beispiel #5
0
 public override string GetCurrentSchemaName() => WrappedConnection.QueryForString("SELECT SCHEMA_NAME()");