|
|
@ -137,7 +137,7 @@ namespace FLocal.MySQLConnector { |
|
|
|
if(diapasone.count >= 0) { |
|
|
|
if(diapasone.count >= 0) { |
|
|
|
queryLimits = "LIMIT " + diapasone.count + " OFFSET " + diapasone.start; |
|
|
|
queryLimits = "LIMIT " + diapasone.count + " OFFSET " + diapasone.start; |
|
|
|
} |
|
|
|
} |
|
|
|
command.CommandText = "SELECT " + table.compile(this.traits) + ".* " + queryMain + " " + querySorts + " " + queryLimits; |
|
|
|
command.CommandText = "SELECT " + table.getIdSpec().compile(this.traits) + " " + queryMain + " " + querySorts + " " + queryLimits; |
|
|
|
|
|
|
|
|
|
|
|
List<string> result = new List<string>(); |
|
|
|
List<string> result = new List<string>(); |
|
|
|
using(DbDataReader reader = command.ExecuteReader()) { |
|
|
|
using(DbDataReader reader = command.ExecuteReader()) { |
|
|
|