Class Query
Postgres Query class
Inherited Members
Namespace: DataTables.DatabaseUtil.Postgres
Assembly: DataTables-Editor-Server.dll
Syntax
public class Query : Query
Constructors
| Improve this Doc View SourceQuery(Database, String)
Create a query instance specifically for Postgres
Declaration
public Query(Database db, string type)
Parameters
Type | Name | Description |
---|---|---|
Database | db | Host database |
System.String | type | Query type |
Methods
| Improve this Doc View Source_Exec()
Execute the SQL command
Declaration
protected override Result _Exec()
Returns
Type | Description |
---|---|
Result | Result instance |
Overrides
| Improve this Doc View Source_Prepare(String)
Bind parameters to the SQL statement
Declaration
protected override void _Prepare(string sql)
Parameters
Type | Name | Description |
---|---|---|
System.String | sql | SQL command |