Skip to content

Instantly share code, notes, and snippets.

@bruth
Last active December 23, 2015 23:59
Show Gist options
  • Save bruth/6714020 to your computer and use it in GitHub Desktop.
Save bruth/6714020 to your computer and use it in GitHub Desktop.
DataExpress opinions, ideas, and questions

DSL

  • [DONE] rename using_bind_vars to bind
    • copy query "SELECT ..." bind (1, 2, 3) from "source" to "target"
  • copy FOO from SOURCE to TARGET silently fails when no table exists in TARGET (filed chop-dbhi/dataexpress#42)
    • the right way is to add create TABLE_NAME

Questions

  • How to lookup a single row?
    • Function could iterate and return a single row
  • How to create a table if it does not already exist?
    • In the comments, it looks like a create will always drop a table first? That could be unexpected.
  • Access the DbStore instance after being registered?
    • register store DbStore(properties) as "source" will create the store, but how do I access it afterwards?
      • get store "source"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment