Sha256: 4193bd7d01e7eca4383717791ffeb18fcac7269849a11676b7e445430f11129d
Contents?: true
Size: 624 Bytes
Versions: 7
Compression:
Stored size: 624 Bytes
Contents
module ActiveRecord module ConnectionAdapters module MSSQL module DatabaseLimits # Returns the maximum number of elements in an IN (x,y,z) clause. # NOTE: Could not find a limit for IN in mssql but 10000 seems to work # with the active record tests def in_clause_length 10_000 end private # the max bind params is 2100 but it seems # the jdbc uses 2 for something def bind_params_length 2_098 end # max number of insert rows in mssql def insert_rows_length 1_000 end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems