This utility attempts to write 2 classes
- A database and a table for the database, for use with MYSql and ceegeye.
- A SQL script for creation of the database and table with one user, DATABASEuser@localhost, with SELECT, UPDATE, DELETE, INSERT, ALTER and INDEX privileges.
- Creates a basic driver program for a starting point to accessing the database.
- And a Makefile for a quickstart way to compile the code.
It has a very simple view of a database, that is a one table database. This is a quickstart for your
projects not a complete solution. A database still has to be designed plus all the glue code for multiple table
databases created by you. This means the art of database design still has to employed.
Each part of the output is seperated by a ruled line.
Copy and paste the different parts into seperate files to be part of your project.
It creates
DATABASE.h database class/implementation
TABLENAME.h table header
TABLENAME.cpp table implementation
main.cpp test driver program
TABLENAME.sql SQL file for database creation
MAKEFILE make file for easy compilation
where
DATABASE is the name of the database and
TABLENAME is the name of the table.
Obviously these names are just suggestions call them what you want
The table has an AUTO_INCREMENT field named
id which is the primary key to the table.
At the top of this page at the start of the first
javascript are two variables.
var MAXFIELDS = 12;
var SHOWINITIALFIELDS = 5;
Adjust these to your liking, they control the amount of fields that can be in the table and the amount of fields
initially displayed. Fields will automatically appear once you tab out of the last field showing on the page upto
MAXFIELDS.