[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/database/src/Pgsql/ -> PgsqlQuery.php (summary)

Part of the Joomla Framework Database Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 62 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PgsqlQuery:: (1 method):
  castAsChar()


Class: PgsqlQuery  - X-Ref

PDO PostgreSQL Query Building Class.

castAsChar($value, $length = null)   X-Ref
Casts a value to a char.

Ensure that the value is properly quoted before passing to the method.

Usage:
$query->select($query->castAsChar('a'));
$query->select($query->castAsChar('a', 40));

param: string  $value   The value to cast as a char.
param: string  $length  The length of the char.
return: string  Returns the cast value.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer