jcb-compiler/src/69c29be3-ab25-4f56-944e-7ada6307b10c/README.md
2024-04-12 17:17:05 +02:00

81 lines
2.4 KiB
Markdown

```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# interface UpdateInterface (Details)
> namespace: **VDM\Joomla\Componentbuilder\Interfaces\Database**
```uml
@startuml
interface UpdateInterface #Lavender {
+ value(mixed $value, string $field, ...) : bool
+ row(array $item) : bool
+ rows(?array $items) : bool
+ item(object $item) : bool
+ items(?array $items) : bool
}
note right of UpdateInterface::value
Update a value to a given table
Example: $this->value(Value, 'value_key', 'GUID');
since: 3.2.0
return: bool
arguments:
mixed $value
string $field
string $keyValue
string $key = 'guid'
end note
note right of UpdateInterface::row
Update single row with multiple values to a given table
Example: $this->item(Array);
since: 3.2.0
return: bool
end note
note right of UpdateInterface::rows
Update multiple rows to a given table
Example: $this->items(Array);
since: 3.2.0
return: bool
end note
note right of UpdateInterface::item
Update single item with multiple values to a given table
Example: $this->item(Object);
since: 3.2.0
return: bool
end note
note right of UpdateInterface::items
Update multiple items to a given table
Example: $this->items(Array);
since: 3.2.0
return: bool
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)