Hi,
I have data in a table on a MS SQL Server. I am collecting data in PowerApps and adding those records to the server table. The data i am collecting is pretty straightforward 4 colums and an integer in each. The number of records can vary between 2 and 300.
sqlTable: ID (autoincrement), col1, col2, col3, col4, Date (getdate())
collectionTable: col1, col2, col3, col4
For this i am using a simple:
Collect('[dbo].[Table]';collectionTable)The time it takes to complete this collect() rises incrementaly with the number of records. Collecting more than 30 records and the wait is rather unpleasent. Looking at the network traffic, it looks like its making a call for each record of the table. I thought the whole idea of using Collect() was that it only made a single server call?
Is there anything in the SQL table that affects collect()s ability to do a single call? Konstraints on the table or such?
If not, is there a better way to this?
Thanks in advance,