Welcome Guest, Not a member yet? Register   Sign In
MySQL insert ignore query
#4

[eluser]Devon Lambert[/eluser]
[quote author="m.christie" date="1267052736"]Yip it's unfortunate that you can't extend the database class, but I've tried this and I've not found any problems with it so you should be fine Smile

Although, doing something that isn't recommended by the original developers... at your own risk etc. ;-)[/quote]

No Christie,

I was actually saying that you CAN extend the core rather than overwriting it.

Take a look at this CI wiki post:

Extending Database Drivers

There's also the way discussed in the following post which doesn't involve any hacking but it makes use of 2 queries instead of 1.

http://ellislab.com/forums/viewthread/144660/


Messages In This Thread
MySQL insert ignore query - by El Forum - 02-24-2010, 03:51 AM
MySQL insert ignore query - by El Forum - 02-24-2010, 10:19 AM
MySQL insert ignore query - by El Forum - 02-24-2010, 11:05 AM
MySQL insert ignore query - by El Forum - 02-24-2010, 11:33 AM
MySQL insert ignore query - by El Forum - 02-25-2010, 04:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB