jcb-compiler/src/ad12ca1c-d3ce-4e7f-88c5-c6c92bdedc48/README.md

80 lines
2.3 KiB
Markdown
Raw Normal View History

2023-03-21 22:52:57 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# interface InsertInterface (Details)
> namespace: **VDM\Joomla\Componentbuilder\Interfaces**
```uml
@startuml
interface InsertInterface #Lavender {
+ defaults(bool $trigger = true) : void
+ rows(array $data, string $table, ...) : bool
+ items(array $data, string $table, ...) : bool
2023-03-21 22:52:57 +00:00
+ row(array $data, string $table) : bool
+ item(object $data, string $table) : bool
2023-03-21 22:52:57 +00:00
}
note right of InsertInterface::defaults
Switch to prevent/allow defaults from being added.
since: 3.2.0
return: void
end note
2023-03-21 22:52:57 +00:00
note right of InsertInterface::rows
Insert rows to the database (with remapping and filtering columns option)
2023-03-21 22:52:57 +00:00
since: 3.2.0
return: bool
arguments:
array $data
string $table
array $columns = []
2023-03-21 22:52:57 +00:00
end note
note right of InsertInterface::items
Insert items to the database (with remapping and filtering columns option)
2023-03-21 22:52:57 +00:00
since: 3.2.0
return: bool
arguments:
array $data
string $table
array $columns = []
2023-03-21 22:52:57 +00:00
end note
note right of InsertInterface::row
Insert row to the database
since: 3.2.0
return: bool
end note
note right of InsertInterface::item
Insert item to the database
2023-03-21 22:52:57 +00:00
since: 3.2.0
return: bool
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)