# Class ObservableDatabase
Namespace: [Aeon.Database](Aeon.Database.md)
Assembly: Aeon.Database.dll
```csharp
public static class ObservableDatabase
```
#### Inheritance
[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ObservableDatabase](Aeon.Database.ObservableDatabase.md)
#### Inherited Members
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals\(object\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)),
[object.Equals\(object, object\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)),
[object.ReferenceEquals\(object, object\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)
## Methods
### Query\(string, MySqlConnection\)
```csharp
public static IObservable Query(string queryString, MySqlConnection connection)
```
#### Parameters
`queryString` [string](https://learn.microsoft.com/dotnet/api/system.string)
`connection` MySqlConnection
#### Returns
[IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)
### Query\(string, MySqlConnection\)
```csharp
public static IObservable Query(string queryString, MySqlConnection connection)
```
#### Parameters
`queryString` [string](https://learn.microsoft.com/dotnet/api/system.string)
`connection` MySqlConnection
#### Returns
[IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)
#### Type Parameters
`TRecord`
### Query\(string, MySqlConnection, Func\)
```csharp
public static IObservable Query(string queryString, MySqlConnection connection, Func selector)
```
#### Parameters
`queryString` [string](https://learn.microsoft.com/dotnet/api/system.string)
`connection` MySqlConnection
`selector` [Func](https://learn.microsoft.com/dotnet/api/system.func\-2)
#### Returns
[IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)
#### Type Parameters
`TRecord`
### Query\(string, MySqlConnection, Action, Func\)
```csharp
public static IObservable Query(string queryString, MySqlConnection connection, Action validator, Func selector)
```
#### Parameters
`queryString` [string](https://learn.microsoft.com/dotnet/api/system.string)
`connection` MySqlConnection
`validator` [Action](https://learn.microsoft.com/dotnet/api/system.action\-1)
`selector` [Func](https://learn.microsoft.com/dotnet/api/system.func\-2)
#### Returns
[IObservable](https://learn.microsoft.com/dotnet/api/system.iobservable\-1)
#### Type Parameters
`TRecord`