Welcome Guest, Not a member yet? Register   Sign In
same rule for is_unique when editing and adding entries
#6

[eluser]keithics[/eluser]
the function only overrides that current is_unique method. that means you can use it the same way.

is_unique[users.username]

the primary key is automatically detected.

But as gte451f said, if you have Composite Primary Keys in your table, it wont work.

http://stackoverflow.com/questions/21794...ngle-table


Messages In This Thread
same rule for is_unique when editing and adding entries - by El Forum - 02-22-2012, 03:14 AM
same rule for is_unique when editing and adding entries - by El Forum - 02-22-2012, 10:35 AM
same rule for is_unique when editing and adding entries - by El Forum - 02-22-2012, 06:11 PM
same rule for is_unique when editing and adding entries - by El Forum - 05-04-2012, 07:20 AM
same rule for is_unique when editing and adding entries - by El Forum - 09-30-2012, 04:10 PM
same rule for is_unique when editing and adding entries - by El Forum - 09-30-2012, 05:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB