The hk_classes Python reference
Prev |  | Next

# Chapter 2. Classes in alphabetical order

# 2.1. hk_actionquery

Inherits from hk_data. 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. Such a query is either successful or fails.

> set_sql(sqlstatement)

>   sets the SQL statement

> sql()

>   returns the used SQL statement

> length()

>   the length in bytes of the SQL statement

> execute()

>   executes the SQL statement and returns True if successful.

Prev | Home | Next
Using hk_classes as a Python module |  | hk_button