Hello! This may help: http://www.webtoolkit.eu/wt/doc/tutorial/dbo.html#_specifying_a_natural_primary_key
typedef std::string IdType; On Wed, Feb 27, 2013 at 8:08 PM, Алексей <hudyaev.al...@gmail.com> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hello. > Great project! > I have found a missing functionality :) > Always I use "unsigned int" for holding ID from any tables. > So, usual it's something like this "typedef unsigned int id_type". > > But, It seems there is no "field" function specialization for "unsigned > int", and I don't know how I can add this function (may be convert to > signed int or to std::string?) > > - -- > С уважением Худяев Алексей. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iF4EAREIAAYFAlEuL34ACgkQDt/suh+PiXMPuQEAlizfh0lQB3NZJ4DmOhWaTeFr > D7EGYWQhn+Pw8FatmPABAIzEp3Vwkk+ts057TWy3gxoIaZKjU3u9UrIJkSzz5O7j > =LjPb > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest