#Darkchat 'RETURNING' query mysql not support...

3 messages · Page 1 of 1 (latest)

storm parcel
#

INSERT INTO phone_notifications
(phone_number, app, title, content, thumbnail, avatar, show_avatar)
SELECT
l.phone_number, ?, ?, ?, ?, ?, ?
FROM
phone_darkchat_members m
JOIN phone_logged_in_accounts l
ON l.app = 'DarkChat'
AND l.active = 1
AND l.username = m.username
WHERE
m.channel_name = ?
AND m.username != ?

RETURNING
id, phone_number

#

Fix please.

#

Darkchat 'RETURNING' query mysql not support...