Gjsify LogoGjsify Logo

This structure represents a target used to fetch data from in a SELECT statement; it can represent a table or a sub select. Note that the table_name part will be overwritten by &LIBGDA;, set the value of expr->value instead.

record

Hierarchy

  • SqlSelectTarget

Index

Constructors

Properties

inheritance structure

field
as: string

alias

field
expr: Gda.SqlExpr

expression

field
tableName: string

table name part of expr if expr represents a table

field
validityMetaObject: Gda.MetaDbObject
name: string

Methods

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

    Returns void

  • serialize(): string
  • Creates a new string representing a target used in a SELECT statement after the FROM clause.

    Returns string

  • takeAlias(alias: any): void
  • Sets the target to be a SELECT subquery setting target's expression to use stmt; after call this function the target owns stmt, then you must not free it.

    Parameters

    Returns void

  • takeTableName(value: any): void
  • Sets the target's name using the string stored in value and the expression to set its value to point to value; after call this function the target owns value, then you must not free it.

    Parameters

    • value: any

      a #GValue to take from

    Returns void

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