SqlExpressionValueParameter


Object Hierarchy:

Object hierarchy for SqlExpressionValueParameter

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:

Namespace: Vda
Package: Vda-1

Content:

Properties:

Static methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Vda.SqlExpression
All known members inherited from interface Vda.SqlExpressionValue