[MySQL]Table Relations and Saving using ORM?? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [MySQL]Table Relations and Saving using ORM?? (
/showthread.php?tid=628348)
[MySQL]Table Relations and Saving using ORM?? -
princejeet1510 - 09.02.2017
![](http://i.imgur.com/DaKIJfA.png)
I was making a faction system....so
i wanted to know is that a
Right Way to set relation between tables.....i mean i haven't tested so i wanted to know will they perform good?
second......i'm using ORM to save everything.....can you give me an example how i will update faction info...
like i have cmd in script....
PHP код:
CMD:faccreate(playerid,params[])
so at then end of cmd how i can update info for it in that table....?
i know i have to use orm_save(blablabla)....
but how.....
Re: [MySQL]Table Relations and Saving using ORM?? -
Mic_H - 09.02.2017
Refer:
https://sampforum.blast.hk/showthread.php?tid=461766
https://sampforum.blast.hk/showthread.php?tid=493138
I dont use it myself.. So I am in no position to advice.. And I am not sure if thats the right tutorial..
Re: [MySQL]Table Relations and Saving using ORM?? -
princejeet1510 - 09.02.2017
Quote:
Originally Posted by Mic_H
|
Wtf.....Where you were from the whole day
![Huh?](images/smilies/confused.gif)
LOL a huge thanks man.....The exact thing I was looking for but don't know why I wasn't not able to find it I used search option too...
Anyways +1,rep