\think\dbRaw

SQL Raw

Summary

Methods
Properties
Constants
__construct()
getValue()
getBind()
__toString()
No public properties found
No constants found
No protected methods found
$value
$bind
N/A
No private methods found
No private properties found
N/A

Properties

$value

$value : string

查询表达式

Type

string

$bind

$bind : array

参数绑定

Type

array

Methods

__construct()

__construct(string  $value, array  $bind = []) : void

创建一个查询表达式

Parameters

string $value
array $bind

getValue()

getValue() : string

获取表达式

Returns

string —

getBind()

getBind() : string

获取参数绑定

Returns

string —

__toString()

__toString() : mixed

Returns

mixed —