Skip to content

Instantly share code, notes, and snippets.

@MichaelDrogalis
Created June 29, 2013 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MichaelDrogalis/5892188 to your computer and use it in GitHub Desktop.
Save MichaelDrogalis/5892188 to your computer and use it in GitHub Desktop.
(defn aws-insert []
(doseq [n (range 1000001)]
@(transact (datomic/orders-db)
[{:db/id (tempid :orders)
:orders/primary-key n
:orders/customer-id n
:orders/timestamp (java.sql.Timestamp/valueOf "2009-01-01 04:32:33")
:orders/shipping-address "xxx"
:orders/total-amount (java.math.BigDecimal. 0.00)}])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment