Skip to content

rob-sokolowski/go-db-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A toy database following this blog, repo

TODOS: [x] def a pager [x] change new_table() to db_open() [] db_open calls pager_open() [x] opens db file [x] inits page cache as nulls [] do we want for now to have it write all the data from file into the table?

[] create get_page() [] it should write a page from file to pager.pages

[] select [] it should handle a "cache miss" [] it should also write the data from file into the new table???? [] insert [] should add a row to table [] should increase rowCount++

[] create db_close() [] flushes page cache to disk (??) [] closes bd file [] frees memory for Pager and Table

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages