Gda.SqlBuilder – libgda-5.0 Reference Manual
Packages
libgda-5.0
Gda
SqlBuilder
error_quark
SqlBuilder
add_case_v
add_cond
add_expr_value
add_field_id
add_field_value_as_gvalue
add_field_value_id
add_function_v
add_id
add_param
compound_add_sub_select_from_builder
compound_set_type
get_statement
import_expression_from_builder
join_add_field
select_add_field
select_add_target
select_add_target_id
select_group_by
select_join_targets
select_order_by
select_set_distinct
select_set_having
select_set_limit
set_table
set_where
SqlBuilder
Object Hierarchy:
Description:
public
class
SqlBuilder
:
Object
Namespace:
Gda
Package:
libgda-5.0
Content:
Static methods:
public
static
Quark
error_quark
()
Creation methods:
public
SqlBuilder
(
SqlStatementType
stmt_type)
Methods:
public
SqlBuilderId
add_case_v
(
SqlBuilderId
test_expr,
SqlBuilderId
else_expr,
SqlBuilderId
[] when_array,
SqlBuilderId
[] then_array)
public
SqlBuilderId
add_cond
(
SqlOperatorType
op,
SqlBuilderId
op1,
SqlBuilderId
op2,
SqlBuilderId
op3)
public
SqlBuilderId
add_expr_value
(
DataHandler
? dh,
Value
? value)
public
SqlBuilderId
add_field_id
(
string
field_name,
string
? table_name)
public
void
add_field_value_as_gvalue
(
string
field_name,
Value
? value)
public
void
add_field_value_id
(
SqlBuilderId
field_id,
SqlBuilderId
value_id)
public
SqlBuilderId
add_function_v
(
string
func_name,
SqlBuilderId
[] args)
public
SqlBuilderId
add_id
(
string
str)
public
SqlBuilderId
add_param
(
string
param_name,
Type
type,
bool
nullok)
public
void
compound_add_sub_select_from_builder
(
SqlBuilder
subselect)
public
void
compound_set_type
(
SqlStatementCompoundType
compound_type)
public
Statement
get_statement
()
throws
Error
public
SqlBuilderId
import_expression_from_builder
(
SqlBuilder
query,
SqlBuilderId
expr_id)
public
void
join_add_field
(
SqlBuilderId
join_id,
string
field_name)
public
SqlBuilderId
select_add_field
(
string
field_name,
string
? table_name,
string
? alias)
public
SqlBuilderId
select_add_target
(
string
table_name,
string
? alias)
public
SqlBuilderId
select_add_target_id
(
SqlBuilderId
table_id,
string
? alias)
public
SqlBuilderId
select_join_targets
(
SqlBuilderId
left_target_id,
SqlBuilderId
right_target_id,
SqlSelectJoinType
join_type,
SqlBuilderId
join_expr)
public
void
select_group_by
(
SqlBuilderId
expr_id)
public
void
select_order_by
(
SqlBuilderId
expr_id,
bool
asc,
string
? collation_name)
public
void
select_set_distinct
(
bool
distinct,
SqlBuilderId
expr_id)
public
void
select_set_having
(
SqlBuilderId
cond_id)
public
void
select_set_limit
(
SqlBuilderId
limit_count_expr_id,
SqlBuilderId
limit_offset_expr_id)
public
void
set_table
(
string
table_name)
public
void
set_where
(
SqlBuilderId
cond_id)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count