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