Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit a584d5f

Browse files
committed
Updated to version 1.1.2
1 parent d9c33e1 commit a584d5f

File tree

3 files changed

+56
-4
lines changed

3 files changed

+56
-4
lines changed

README-ES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,30 @@ $params → (array) → Parámetros de configuración para las columnas.
328328

329329
$table → (string) Nombre de la tabla.
330330

331+
**foreing**($foreing_key) (Opcional)
332+
333+
$foreing_key → (string) Foreing key.
334+
335+
**references**($references) (Opcional)
336+
337+
$references → (string) Columna a la que se hace referencia.
338+
339+
**on**($table) (Opcional)
340+
341+
$table → (string) Nombre de la tabla a la que se hace referencia.
342+
343+
**actions**($actions) (Opcional)
344+
345+
$actions → (string) Acciones cuando se elimine o actualice una fila relacionada.
346+
347+
**engine**($engine) (Opcional)
348+
349+
$engine → (string) Motor para la base de datos.
350+
351+
**charset**($charset) (Opcional)
352+
353+
$charset → (string) Charset para la base de datos.
354+
331355
**execute()**
332356

333357
Este método no tiene atributos.

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,30 @@ $params → (array) → Parameters of configuration for the columns.
329329

330330
$table → (string) Database table name.
331331

332+
**foreing**($foreing_key) (Optional)
333+
334+
$foreing_key → (string) Foreing key.
335+
336+
**references**($references) (Optional)
337+
338+
$references → (string) Column reference.
339+
340+
**on**($table) (Optional)
341+
342+
$table → (string) Table reference.
343+
344+
**actions**($actions) (Optional)
345+
346+
$actions → (string) Actions when delete or update for foreing key.
347+
348+
**engine**($engine) (Optional)
349+
350+
$engine → (string) Database engine.
351+
352+
**charset**($charset) (Optional)
353+
354+
$charset → (string) Database charset.
355+
332356
**execute()**
333357

334358
This method has no attributes.

src/Provider/PDOprovider.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,14 @@ public function statements($query, $statements) {
163163
*
164164
* @since 1.0.0
165165
*
166-
* @param string $table → table name
167-
* @param array $data → column name and configuration for data types
168-
* @param string $engine → database engine
169-
* @param array $charset → database charset
166+
* @param string $table → table name
167+
* @param array $data → column name and configuration for data types
168+
* @param string $foreing → foreing key column
169+
* @param array $reference → column reference
170+
* @param string $on → table reference
171+
* @param array $actions → actions when delete/update for foreing key
172+
* @param string $engine → database engine
173+
* @param array $charset → database charset
170174
*
171175
* @return int → 0
172176
*/

0 commit comments

Comments
 (0)