\Imi\Db\Query\TraitsTKeyword

Summary

Methods
Properties
Constants
parseKeywordText()
parseKeywordToText()
parseKeyword()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

parseKeywordText()

parseKeywordText(string  $string) : array

把输入的关键字文本转为数组

Parameters

string $string

Returns

array

parseKeywordToText()

parseKeywordToText(array  $keywords, string|null  $alias = null,   $jsonKeywords = null) : void

从数组拼装为有分隔标识符的关键字

Parameters

array $keywords
string|null $alias
$jsonKeywords

parseKeyword()

parseKeyword(string  $string) : string

处理关键字输入,转为安全的分隔标识符的关键字

Parameters

string $string

Returns

string