File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ If you'd like to take a look around it and see the tables, I recommend using
8989
9090## Adding some data
9191
92- You add data to your tables using plain old SQL ` INSERT ` statements. Try adding this code to your program:
92+ You add data to your tables using plain old SQL ` INSERT ` statements. Try adding
93+ this code to your program (if you're lazy, just delete your ` main ` function and
94+ paste this in its place):
9395
9496``` fsharp
9597open Rezoom.SQL.Synchronous // extension methods for running commands synchronously
@@ -130,6 +132,7 @@ in the program, you can run it again. Try editing it to get an email address at
130132
131133So far you've already run a query once: the ` select last_insert_rowid() as id ` following inserting a user.
132134But you can use the ` SQL<...> ` provided type to run all sorts of SQL queries. Let's try getting the list of users.
135+ Again, you can add this code onto your program by removing your ` main ` function and putting this code in its place.
133136
134137``` fsharp
135138type ListUsers = SQL<"""
You can’t perform that action at this time.
0 commit comments