QxOrm  1.5.0
C++ Object Relational Mapping library

qx::trait::get_primary_key<T>::type : return primary key type of T, by default primary key is long type, use QX_REGISTER_PRIMARY_KEY() macro to register another type (for example QX_REGISTER_PRIMARY_KEY(T, QString)) More...

#include <get_primary_key.h>

List of all members.

Public Types

typedef long type

Detailed Description

template<class T>
class qx::trait::get_primary_key< T >

qx::trait::get_primary_key<T>::type : return primary key type of T, by default primary key is long type, use QX_REGISTER_PRIMARY_KEY() macro to register another type (for example QX_REGISTER_PRIMARY_KEY(T, QString))

Definition at line 54 of file get_primary_key.h.


Member Typedef Documentation

template<class T>
typedef long qx::trait::get_primary_key< T >::type

Definition at line 55 of file get_primary_key.h.


The documentation for this class was generated from the following file: