Qore PgsqlSqlUtilBase Module Reference 1.8
Loading...
Searching...
No Matches
PgsqlSqlUtilBase::PgsqlIndex Class Reference

represents a PostgreSQL-specific index More...

#include <PgsqlSqlUtilBase.qm.dox.h>

Inheritance diagram for PgsqlSqlUtilBase::PgsqlIndex:
[legend]

Public Member Methods

 constructor (string n_name, bool n_unique, hash n_cols, *string n_tablespace)
 creates the object from the arguments
 
string getCreateSql (string table_name, *hash opt)
 returns a string that can be used to create the index in the database
 
string getDropSql (string table_name)
 returns a string that can be used to drop the index from the database
 
string getRenameSql (string table_name, string new_name)
 returns a string that can be used to rename the index in the database
 

Public Attributes

*string tablespace
 the tablespace name of the index
 

Private Member Methods

bool equalImpl (AbstractIndex ix)
 returns True if the argument is equal to the current index, False if not
 

Detailed Description

represents a PostgreSQL-specific index