Method | Description | |
---|---|---|
create ( integer $item_id, string $title, text $body ) : Illuminate\Database\Eloquent\Model | Create a item fts. | |
deleteItemFts ( $item_id ) : boolean | Delete a item fts. | |
match ( string $str, integer $limit = 10, integer $offset ) : array | match | |
matchCount ( string $str ) : array | matchCount | |
toNgram ( string $title, text $body ) : string | Convert String into N-Gramed string. |
public deleteItemFts ( $item_id ) : boolean | ||
$item_id | int | |
return | boolean |
public matchCount ( string $str ) : array | ||
$str | string | |
return | array |