Schemaless queries

Hi all

Could someone explain me what is a Schemaless queries in ecto 2.0? I read http://blog.plataformatec.com.br/2016/05/ectos-insert_all-and-schemaless-queries/?utm_source=elixir-status&utm_medium=social&utm_campaign=blog-post-promotion but could not configure it out, what exactly means.

Thanks

1 Like

It is where you use the query syntax to work on tables via their string ID’s instead of using a schema module. Less automatic type checking and a bit more verbose, but very free to access and query whatever. :slight_smile:

1 Like

What is a string ID's?

2 Likes

Whatever is in the database, so if you have a table of “blah” then you would use something like from b in "blah" I think it is. :slight_smile:

2 Likes