Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDOを使う #25

Open
lv7777 opened this issue Jun 28, 2016 · 4 comments
Open

PDOを使う #25

lv7777 opened this issue Jun 28, 2016 · 4 comments

Comments

@lv7777
Copy link
Owner

lv7777 commented Jun 28, 2016

多分nodejsのmysql moduleにもあるはず。

@lv7777
Copy link
Owner Author

lv7777 commented Jul 1, 2016

PDOはないけどプレースホルダー使えた。成功した

@lv7777
Copy link
Owner Author

lv7777 commented Oct 26, 2016

プレースホルダーやるぞ!

@lv7777
Copy link
Owner Author

lv7777 commented Oct 26, 2016

socket.emit後のchats表に入れるinsert intoに使った

@lv7777
Copy link
Owner Author

lv7777 commented Oct 26, 2016

こ↑こ↓ '\'--dskf'

2016-10-26T15:43:06.873350+00:00 app[web.1]: { content: ''--dskf', chatId: 'chat_91', userId: 'user_20' }

2016-10-26T15:43:06.879466+00:00 app[web.1]: insert chat table success!

2016-10-26T15:43:40.334008+00:00 app[web.1]: messageToServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant