SqlExpressionValueParameter
Object Hierarchy:
Description:
public interface SqlExpressionValueParameter :
Object,
SqlExpression,
SqlExpressionValue
Represent a value associated to a parameter in an SQL expression
The default string representation if no parameter with the same name is found is: ##parameter_name::parameter_type, where
'parameter_name' is the actual name and 'parameter_type' is the GLib.Type's name, see
gtype_from_string for some custom type's names
supported when SqlExpression.parse is used to parse from a string.
In the following example, a SELECT query is created with a paramenter with the name 'id' and type 'integer' of type
GLib.Type.INT
var sql = "SELECT * WHERE id = ##id::integer";
var q = connection.parse_string_prepared (sql);
q.parameters.set_Value ("id", 10);
var res = q.execute (null);
All known implementing classes:
Content:
Properties:
Static methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Vda.SqlExpression
All known members inherited from interface Vda.SqlExpressionValue