Maurits van der Schee 6 anos atrás
pai
commit
3af1e6fb17
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3
    2
      README.md

+ 3
- 2
README.md Ver arquivo

@@ -757,9 +757,10 @@ It also sets the column "customer_id" on "create" to "12" and removes the column
757 757
 
758 758
 You may use the "joinLimits" and "pageLimits" middleware to prevent database scraping.
759 759
 The "joinLimits" middleware limits the table depth, number of tables and number of records returned in a join operation. 
760
+If you want to allow 5 direct direct joins with a maximum of 25 records each, you can specify:
760 761
 
761
-    'joinLimits.depth' => 2,
762
-    'joinLimits.tables' => 3,
762
+    'joinLimits.depth' => 1,
763
+    'joinLimits.tables' => 5,
763 764
     'joinLimits.records' => 25,
764 765
 
765 766
 The "pageLimits" middleware limits the page number and the number records returned from a list operation. 

Carregando…
Cancelar
Salvar