class hk_actionquery

Action query (i.e. ALTER TABLE) with no result. More...

Definition#include <hk_classes/hk_classes/hk_actionquery.h>
Inheritshk_data [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

In contrary to Result Queries (queries with a SELECT - SQL-statement) action queries manipulate data like ALTER TABLE or INSERT INTO. There is no resulting data.

 ~hk_actionquery (void)

~hk_actionquery

[virtual]

enum_datasourcetypes  type (void)

type

Reimplemented from hk_data.

void  set_sql (const char*s, unsigned long l)

set_sql

SQL-serverdependend SQL statement

Parameters:
sSQL statement.
llength of the field s. Maybe that there is \0 somewhere in the SQL statement (i.e. BLOB field), so this is necessary.

void  set_sql (const hk_string& s,bool convertdelimiter=false)

set_sql

const char*  sql (void)

sql

unsigned long  length (void)

length

bool  execute (void)

execute

tries to execute the sql statement

Returns: true if it was successful.

 hk_actionquery (hk_database* db)

hk_actionquery

[protected]

bool  driver_specific_execute (void)

driver_specific_execute

[protected virtual]

bool  driver_specific_sql (const char*s)

driver_specific_sql

[protected virtual]

void  before_source_vanishes (void)

before_source_vanishes

[protected virtual]

Reimplemented from hk_data.

char* p_sql

p_sql

[protected]

unsigned long p_length

p_length

[protected]

void  print_sql (void)

print_sql

[protected]

hk_string  sqlconvertdelimiter (const hk_string& )

sqlconvertdelimiter

[protected]