orangeslice 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -207,6 +207,38 @@ JOIN linkedin_company lc ON ...
207
207
  - **Use `lp` alias** for person tables
208
208
  - **Default to US**: `lp.location_country_code = 'US'`
209
209
 
210
+ ## Return Type
211
+
212
+ `services.person.linkedin.search()` returns an object envelope:
213
+
214
+ ```typescript
215
+ {
216
+ rows: (Record < string, unknown > []);
217
+ count: number;
218
+ }
219
+ ```
220
+
221
+ - `rows`: Result rows from your SQL query, with exactly the columns you selected.
222
+ - `count`: Number of rows returned in `rows`.
223
+
224
+ Example:
225
+
226
+ ```typescript
227
+ const searchResult = await services.person.linkedin.search({
228
+ sql: `
229
+ SELECT
230
+ lp.first_name,
231
+ lp.last_name,
232
+ lp.public_profile_url AS lp_linkedin_url
233
+ FROM linkedin_profile lp
234
+ WHERE lp.location_country_code = 'US'
235
+ LIMIT 10
236
+ `
237
+ });
238
+
239
+ return searchResult.rows; // Most spreadsheet snippets should return rows
240
+ ```
241
+
210
242
  ---
211
243
 
212
244
  ## Table Aliases
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orangeslice",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "B2B LinkedIn database prospector - 1.15B profiles, 85M companies",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",