You are not logged in.
Pages: 1
Hello,
What's the diference in using sqlite files in .obj and .dll?
Because I was reading a blog and it says that the .dll is faster. Is that true?
Hi,
Is there a way to execute sql scripts in the SynDBExplorer?
If not I think it would be very helpful to add this feature.
What do you think?
Beautiful, thanks!!
Thank you for the answer, but, this is already in 128. Even If I change to 256 the error continues.
function ExtractInlineParameters(const SQL: RawUTF8;
var Types: TSQLParamTypeDynArray; var Values: TRawUTF8DynArray;
var maxParam: integer; var Nulls: TSQLFieldBits): RawUTF8;
var ppBeg: integer;
P, Gen: PUTF8Char;
wasNull: boolean;
begin
(...)
if maxParam>high(Types) then
raise ESynException.Create('Too many :(): params'); //<--- error occurs here
(...)
end;
I'm trying to insert a object into a table and I get this error from the server:
"Too many : ( ) : params".
The table(class) that I'm trying to insert has 65 fields (published properties).
What could be the cause of this error?
No...
How can I do that? Is It a property of the TSQLHttpServer?
Yes the server works when it is not run as a service.
Wich event of the Service do you use to create the TSQLHttpServer?
Can someone help me?
Hello,
I'm trying to create a Server as Windows Service. The server has a TSQLRestServerDB and TSQLHttpServer.
I install the service and everything is fine, but the TSQLHttpServer don't start (I guess...) because I can't connect the client with the server.
What could be wrong? Is there a example how to create a service with mormot?
Hello guys,
What function of SynCommons should I use to convert a RawUT8 to PUTF8Char?
Is there any example using RegisterCompress?
In the server I found this method all right, but in TSQLHttpClient I didn't find it.
How about commands like: COUNT, AVG, SUM...
Is there a way to use it with TSQLRecord kind of approach?
I think that the CreateAndFillPrepare should have a implementation with the possibility of we write our own SQL command.
Someting like :
Rec := TSQLRecord.CreateAndFillPrepare(DB, 'SELECT HERE');
Hello, How can I do a select with a DISTINCT clause using the TSQLRecord.CreateAndFillPrepare?
How can we compress data transmited between TSQLHttpserver and THttpclient?
Hi, is there a way to limit the number of records that is passed from the server to the client, even if the search retrieves more than that limit?
I'm using the ORM with SQlite and HttpServer.
Wich command can I use before run a VACUUM, you know to disconnect the connections and sql statements from the database?
Hello everybody!!
I'm using TSQLRestServerDB.Update to update a record, in the first time works fine but on a second time it doesn't update the record.
What could be the cause to this problem? Is because I'm trying to update it two times in a row?
How you doing?
How can we make the ORM do a VACUUM command in the SQlite database?
I have the same doubt. How can the server know if a record as updated? Is there a event like AfterUpdate?
Pages: 1