Whats that? an Error ;)
Pdzly opened this issue · comments
I tried to delete an model
Groupmodel = sqlier.Model({
Table = "groups",
Columns = {
Id = {
Type = sqlier.Type.Integer
},
Name = {
Type = sqlier.Type.String
}
},
Database = "mk_db"
})
I guess the error is not related to this piece of code. It seems like an error when deleting. Are you calling delete somewhere in your code?
yup like
local myinst = Groupmodel({
Id = 0,
Name = "Baum"
})
myinst:save()
myinst:delete()
i havent got the 100% "original" code of mine but it should work like in the example said.
Fixed on last commit!