Your Idea is true. but you used MYSAC to link to MYSQL. Does MYSAC support SQL commands like "BEGIN TRANSACTION" or "COMMIT" in simple queries?
MYSAC supports transactions in its API. I think JavaScript API s also can be implemented to perform simpler and better transactions like Doctrine and Hiernate frameworks. APIs like : MYSQL.beginTransaction(), MYSQL.commit() and MYSQL.rollback() would be useful. I saw libape-spidermonkey.c and I mysac.h. Only Sql simple query from MYSAC is supported but MYSAC wrapper is very rich for all type of SQL queries. On Thu, Apr 7, 2011 at 4:35 PM, Anthony Catel <[email protected]> wrote: > Hm I don't see any reason why it should not support it. > I mean a transaction is just a query. It only depends on your SQL engine > (myisam, innodb, etc..) > > Le 07/04/2011 07:20, bardia a écrit : > > In previous version APE.MySQL didnt support sql transactions. >> >> Is it supported in new version? >> >> Thanks >> >> On Apr 2, 6:45 pm, Anthony Catel<[email protected]> wrote: >> >>> I'll try to do it next week. I still need to fix some things. >>> Anyway, it's not an official release. I asked you guys to try it, not to >>> put it in production ;) >>> >>> Le 02/04/2011 16:40, erSan a crit : >>> >>> ASAP means when ?? >>>> I can't return in previous version, and i need mysql. >>>> is it some hours, days, weeks ?? I need to kown >>>> Thanks >>>> On 2 avr, 16:35, Anthony Catel<[email protected]> wrote: >>>> >>>>> Indeed, the package with MySQL is not ready yet. I'll release ASAP >>>>>> Le 02/04/2011 16:20, erSan a crit : >>>>>> >>>>> > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
