Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

260
Views
Cómo recuperar todas las filas mediante enlaces de Azure Table Storage para Azure Functions

Estoy usando enlaces de almacenamiento de tablas de Azure como se describe aquí https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-table-input?tabs=in-process%2Cstorage-extension&pivots= programación-lenguaje-javascript

Lo tengo configurado y funcionando, pero en mi javascript, lo hago referencia como tal

 context.log(context.bindings.entity.length);

Esto da como resultado 50 aunque la tabla tiene 745 registros.

He intentado iterarlo y filtrarlo como tal.

 var foo = context.bindings.entity.map( (x) => x.Partition ); // only outputs 50 records var bar = context.bindings.entity.filter( (x) => x.RowKey == "700" ); // does not find anything because the RowKey is the 700th item, and it only has 50

Necesito una forma de obtener todos los datos de la tabla azul y filtrar lo que necesito.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Recuperar todas las filas mediante enlaces de Azure Table Storage

Cree la función de Azure y + Agregar activador HTTP -> Ahora haga clic en la pestaña Integrar -> Haga clic en Nueva entrada y seleccione Azure Table Storage de la lista -> Configure Azure Table Storage

Nota: Los campos Clave de partición y Clave de fila son opcionales. Asegúrese de completar el número máximo de registros para leer, solo entonces leerá todos los registros .

ref1 Ahora ve al archivo index.js. Ábrelo y reemplaza su contenido con el siguiente código.

 module.exports = async function (context, req) { context.log(context.bindings.inputTable.FirstName); };

Ref2

Referencia:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-table-input?tabs=in-process%2Cstorage-extension&pivots=programming-language-javascript

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!