Gjsify LogoGjsify Logo

This structure represents a selected item in a SELECT statement (when executed, the returned data set will have one column per selected item). Note that the table_name and field_name field parts will be overwritten by &LIBGDA;, set the value of expr->value instead.

record

Hierarchy

  • SqlSelectField

Index

Constructors

  • Creates a new #GdaSqlSelectField structure and sets its parent to parent. A #GdaSqlSelectField is any expression in SELECT statements before the FROM clause.

    Parameters

    Returns Gda.SqlSelectField

Properties

inheritance structure

field
as: string

alias

field
expr: Gda.SqlExpr

expression

field
fieldName: string

field name part of expr if expr represents a field

field
tableName: string

table name part of expr if expr represents a field

field
validityMetaObject: Gda.MetaDbObject
validityMetaTableColumn: Gda.MetaTableColumn
name: string

Methods

  • free(): void
  • Frees a #GdaSqlSelectField structure and its members.

    Returns void

  • serialize(): string
  • Creates a new string representing an expression used as field in a SELECT statement before the FROM clause.

    Returns string

  • takeAlias(alias: any): void
  • Sets the 'as' field's string in the #GdaSqlSelectField structure. alias is freed after call this function.

    Parameters

    • alias: any

      a #GValue to take from

    Returns void

  • Sets the expression field in the #GdaSqlSelectField structure to point to expr and modify it to sets its parent to field.

    Parameters

    Returns void

  • takeStarValue(value: any): void
  • Sets the expression field's value in the #GdaSqlSelectField structure to point to value; after this field is the owner of value.

    Parameters

    • value: any

      a #GValue to take from

    Returns void

  • Creates a new #GdaSqlSelectField structure and sets its parent to parent. A #GdaSqlSelectField is any expression in SELECT statements before the FROM clause.

    Parameters

    Returns Gda.SqlSelectField

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method