Posts by Ramon • 5 points
5 posts
-
0
votes1
answer51
viewsQ: Pass database data to a View in Adonisjs
I am searching for a specific data in the database to return its values in a view (Edgetemplate) But in the view shows how Undefined My route Route.get('/atendimentos/:id_atendimento',…
-
-2
votes1
answer159
viewsQ: How to format dates in Adonisjs?
How can I send DD-MM-YYYY formatted dates to the Adonisjs database? class AtendimentoSchema extends Schema { up () { this.create('atendimentos', (table) => { table.increments()…
-
0
votes1
answer46
viewsQ: Doubt how to recover data from another table with Postgres
I have two tables: Department with id and name Telephone contains id_department and extension I have already registered a department and some extensions where the id_departamento refers to the…
-
0
votes1
answer990
viewsQ: What is wrong in this Adonisjs relationship
I’m having the following mistake when I give Adonis Migration:run : { error: relation "polo" does not exist at Connection.parseE (C:\ckinfo\node_modules\pg\lib\connection.js:604:11) at…
-
0
votes1
answer24
viewsQ: How to recover the value of a select option in Adonisjs?
<select class="custom-select mr-sm-2" id="inlineFormCustomSelect"> <option name="tipo" value="MEMORIA" selected>MEMORIA</option> <option name="tipo" value="HD SSD">HD…