mirror of
https://github.com/PretendoNetwork/super-mario-maker.git
synced 2026-05-01 12:37:24 -05:00
10 lines
321 B
Go
10 lines
321 B
Go
package database
|
|
|
|
import "log"
|
|
|
|
func InsertBufferQueueData(dataID uint64, slot uint32, buffer []byte) {
|
|
if err := cassandraClusterSession.Query(`INSERT INTO pretendo_smm.buffer_queues( id, data_id, slot, buffer ) VALUES ( now(), ?, ?, ? ) IF NOT EXISTS`, dataID, slot, buffer).Exec(); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|