2
I Use This!
Low Activity

News

Analyzed 1 day ago. based on code collected 3 days ago.
Posted about 3 years ago by rdevine
Excellent - thank you.I'm going to try and track down the warleyalex code but if anyone has any opinions regarding pas2js vs. DWScript I'd be interested to hear. Thanks, Bob
Posted about 3 years ago by moctes
I will explore that featureThank you !
Posted about 3 years ago by Prometeus
Indeed, I was mixing those pieces of information. Thanks!
Posted about 3 years ago by dcoun
That was the post about having interface methods and not to expose ORM functions that I have read in the past and I need to revisit.MVC example was not working in the past but I noticed some commits last days and I revisit it.Thank you a lot. I will check it and I will return
Posted about 3 years ago by ab
Statics have been uploaded to 3.38.0 in synch with the source.You need to download the updated statics from https://synopse.info/files/mormot2static.7z
Posted about 3 years ago by Leslie7
Ok, thanks!
Posted about 3 years ago by konsul41
I useTOleDBMSSQLConnectionPropertiesWhat specific drivers does mormot use for this?Is it about these?https://docs.microsoft.com/pl-pl/sql/co … erver-2017
Posted about 3 years ago by augusto
That's great!Thanks
Posted about 3 years ago by dcoun
Thank you a lot for your response. To be honest, after posting this thread I was wondering if array of const could be allowed  to be used. I was coping-pasting orm methods and I found it working but the empty brackets did not. Probably it was working ... [More] by chance Do we need the "restServer := GetDBDataRestServer;" I found that the Server property from TInjectableObjectRest is working excellentThe TOrmArticleObjArray how it it defined? for the moment, I am using Json arrays to get data as they are more compatible with mobile devices.I removed Tormclass procedure arguments as I am not sure if I can pass them safely. I am using tormclass.sqltable to transform it as a utf8string argument and back with "server.Model.Table[Table]" in order to use "generic" orm functions for multiple TormclassesMy main problem now is how to pass and get generic Torm instances that they are usually passed as values in orm functions, e.g. OrmRetrieve(aID: TID; Value: TOrm; ForUpdate: boolean): boolean;Probably the GetJsonValues can prepare a utf8string value and fillprepare can use it in the other side but I have not yet managed to use them successfully.I have seen tdocvariant functions with variant as input/output but I have not find an example and I am not sure how to use themprobably a way to have custom authentication over the ORM interface is the most easy way to deal with the server, but as I want to use it from mobile and web clients json serialization/deserialization is the only way I am thinking of. [Less]
Posted about 3 years ago by ab
You are right.Should be fixed by https://github.com/synopse/mORMot2/commit/7a94032e