Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PoshoDev authored Oct 19, 2021
1 parent 9aad87f commit ff980b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ $ pip install loaf
import loaf

# Setup your credentials with a single line.
Loaf.bake(port=6969, db="pizzeria")
loaf.bake(port=6969, db="pizzeria")

# Make a query easily.
result = Loaf.query("SELECT * from toppings")
result = loaf.query("SELECT * from toppings")
print(result)

# Not lazy enough? Try some of the pre-built queires.
result = Loaf.all("toppings")
result = loaf.all("toppings")
print(result)

# Got stored procedures? No problemo!
result = Loaf.call("ProcedureFindClient", 1)
result = loaf.call("ProcedureFindClient", 1)
print(result)
```

Expand Down

0 comments on commit ff980b2

Please sign in to comment.