Racket is a general-purpose, multi-paradigm programming language based on the Scheme dialect of Lisp. It is designed to be a platform for programming language design and implementation. In addition to the core Racket language, Racket is also used to refer to the family of programming languages and set of tools supporting development on and with Racket. Racket is also used for scripting, computer science education, and research.
Inside this project you can find some Racket functions for managing a database.
Implemented functions:
- init-database()
- create-table(name, columns)
- get-name(table)
- get-columns(table)
- get-tables(database)
- get-table(database, table-name)
- add-table(database, table-name)
- remove-table(database, table-name)
- insert(database, table-name, new-record)
- simple-select(database, table-name, columns)
- select(database, table-name, columns, conditions)
- update(database, table-name, values, conditions)
- delete(database, table-name, conditions)
For other examples check the tester.rkt file.