Skip to content

Commit

Permalink
Replace present_to_schema with macro in examples and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatsushita committed Dec 23, 2022
1 parent be85d3b commit b58b7cb
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 914 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![Tests](https://github.com/AlgebraicJulia/AlgebraicRelations.jl/workflows/Tests/badge.svg)

AlgebraicRelations.jl is a Julia library built to provide an intuitive and
elegant method for generating and querying a scientific database. This
elegant method for generating and querying a scientific database. This
package provides tooling for defining database schemas,
generating query visualizations, and connecting directly up to a PostgreSQL
server. This package is built on top of
Expand Down Expand Up @@ -75,7 +75,7 @@ Once this presentation is defined, the database schema can be generated as follo

```julia
# Convert to Schema
TrainDB = present_to_schema(present);
@present_to_schema TrainDB(present);
print(generate_schema_sql(TrainDB()))
```
```sql
Expand Down
Loading

0 comments on commit b58b7cb

Please sign in to comment.