⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colexist.cpp

📁 小型数据库源代码较多
💻 CPP
字号:

#include "min.h"

Col* sql::colexist(Table* table,  int & th)
{	
	//看列是否存在;存在返回列的地址,不存在返回NULL
	Col* col = table->collist;
    th=-1;
	while ( col->next )
	{
		th++;
		col = col->next;
		if ( col->name == colname )
			return col;
	}
	return NULL;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -