Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sql module #647

Merged
merged 18 commits into from
Feb 23, 2024
Merged

Add sql module #647

merged 18 commits into from
Feb 23, 2024

Conversation

muXxer
Copy link
Collaborator

@muXxer muXxer commented Feb 23, 2024

No description provided.

@muXxer muXxer force-pushed the feat/add-sql-module-from-indexer branch from baaab35 to 32ab137 Compare February 23, 2024 12:01
@muXxer muXxer force-pushed the feat/add-sql-module-from-indexer branch 3 times, most recently from 8ac3907 to 4588d34 Compare February 23, 2024 12:36
db/engine.go Outdated
// no need to create or access a "database info file" in case of mapdb (in-memory)
// TODO: add an interface with a flag that indicates if the database needs the file system or not.
case EngineMapDB, EnginePostgreSQL:
// no need to create or access a "database info file" in case of mapdb (in-memory) or postgres (external database)
return EngineMapDB, nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this return is wrong if you pass EnginePostgreSQL

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn :D

@muXxer muXxer force-pushed the feat/add-sql-module-from-indexer branch from 1458ada to 81a1e28 Compare February 23, 2024 13:44
@muXxer muXxer merged commit 12ffcb3 into develop Feb 23, 2024
1 check passed
@muXxer muXxer deleted the feat/add-sql-module-from-indexer branch February 23, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants