vizdun blog

Handling INSERT statements

Published:

Meme in the "In Order to Play the Joker, Joaquin Phoenix..." format. In this case it continues with "had to validate one SQL INSERT statement."

Explaining the meme

A joke on how many edge cases and complicated logic handling SQL INSERT statements have. Matdb's INSERT handling logic has around ~200 lines of code (entirely unrelated to anything storage wise, just checking for edge cases and stuff). This is despite the fact matdb only implements a tiny fraction of the usual SQL INSERT functionality.