摘要:
django admin用法 基本使用 from django.contrib import admin from .models import * # Register your models here. @admin.register(Question) # Question是表 class Q 阅读全文
摘要:
-- 获取自增列的名称 SELECT pg_get_serial_sequence('table_name', 'id') AS sequence_name; --获取自增列的下一个值: SELECT nextval(pg_get_serial_sequence('table_name', 'id' 阅读全文