Comments (3)
That error is not a bug…it’s a limitation of SQL Seever where only 2100 parameters can be sent in a single query…by parameters it’s referring to arguments that begin with @
.
RepoDB is automating that for you and using parameters, for every field value for every entity/record, just as it should to avoid SQL injection risks! However it does not do a bounds check so your just passing in too much data into that method….every field on every record is resulting in a variable/param.
You should look into the BulkInsert API (RepoDB provides this also) as a much more reliable way to send large amounts of data in the fastest way possible…InsertAll is for smaller batches of dozens of records…if you have hundreds or thousands then BulkInsert is more appropriate.
from repodb.
thank you @cajuncoding! like I said, I was monkeying with it... I want to point out that the mention was not "parameters" but "batch", I thought it was a record, an entry, not a single field value. Thank you for your good advise! :-)
from repodb.
Thanks @cajuncoding. @sipi41 yes, please the real Bulk Operation if you have such requirement.
from repodb.
Related Issues (20)
- DirectionalQueryField with string output in stored procedure HOT 3
- Enhancement: Lazy Property Handler HOT 1
- my cs50x project : table emails has no column named recipient >>> pointing to compose mail HOT 2
- Enhancement: Follow Npgsql connvention for DateTime and DateTimeOffset HOT 3
- Bug: using ExecuteQueryMultipleAsync with many resultsets in some cases results in a timeout HOT 2
- Bug: RepoDb.SqlServer 1.13.0 - Memory leak in Microsoft.Data.SqlClient 5.0.1 HOT 2
- Bug: InsertAll on MSSQL (returns wrong Identifier) HOT 1
- InsertAsync on Postgres returns the wrong identifier HOT 11
- Bug: PostgreSQL BinaryBulkMerge not working when table has name "schema.table" HOT 3
- Random errors occurring during concurrent database access. HOT 5
- Bug: Getting the error "The list of queryable fields must not be null for ..." when a list of fields has been specified HOT 1
- Question: How to perform Identity Inserts when inserting an entity? HOT 2
- Expression is currently not supported. HOT 5
- Bug: <Memory Leak persist after update 1.13.1 > HOT 7
- Enhancement: Refactor Batch Operations SQL Statements HOT 8
- BaseRepository does not work with generic TDbConnection. HOT 9
- Bug: DirectionalQueryField broken in 1.13.1 HOT 2
- Request: Add support for VistaDB ( https://vistadb.com )
- Question: New setup, cannot get past MissingFieldsException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repodb.